Skip to content

Releases: Betarena/scores

v2.16.0

21 Nov 15:35
16506b8
Compare
Choose a tag to compare
feature/create-sportstack/draft/1 (#2292)

* fix: update button secondary style

* style: update button and shadow styles

* fix: route path

* refactor: update imports and remove console.log

* fix: sort sportstacks by creation date in Widget-Author component

* refactor: remove frontend validation

* refactor: messages position

* dev: update @betarena/scores-lib to version 4.0.10

* dev name sanitization in Widget-PublicationCreate component

* dev: Widget Publication

* update @betarena/scores-lib to version 4.0.12

* fix: back button

* dev: BTA 2.0 primitives

* dev: add highlighted sportstack

* dev: new components

* dev: translations

* Fix translation issue in Widget-PublicationCreate component

* feature: add tiptap & add page

* refactor: improve CreateArticle component

- Add title input field for the article
- Update placeholder text in the editor
- Adjust styling of the editor and title input
- Update Container component to accept additional classes

Resolves: #123

* refactor: improve CreateArticle component

- Add functionality to adjust the height of the editor container based on window size.
- Handle window resize and orientation change events to update the container height accordingly.

* refactor: remove unused code and adjust styling in CreateArticle component

* refactor: remove unused code, adjust styling, and add link popup functionality in CreateArticle component

* refactor: adjust viewport meta tag in CreateArticle component

* refactor: adjust viewport meta tag, fix virtual keyboard check, and improve styling in CreateArticle component

* dev: link popup

* Refactor: Disable link popup functionality in CreateArticle component

* Refactor: Adjust viewport meta tag, fix virtual keyboard check, and improve styling in CreateArticle component

* dev: tags and seo pages

* Refactor: Adjust fade animation in Modal-Backdrop and remove redundant code in CreateArticle component

* Refactor: Add publish button in ModalArticleSEO component

* Refactor: editor toolbar border component and adjust styling

* Refactor: Adjust background color in ModalArticleSEO component

* dev: tags animations

* Refactor: Adjust view names in CreateArticle and ModalArticleSEO components

* Refactor: Adjust view names in CreateArticle and ModalArticleSEO components

- Adjusted the view names in the CreateArticle and ModalArticleSEO components to improve clarity and consistency.

Refactor: Adjust background color in ModalArticleSEO component

- Updated the background color in the ModalArticleSEO component to enhance the visual appearance.

Refactor: editor toolbar border component and adjust styling

- Refactored the editor toolbar border component and made adjustments to the styling for improved consistency and usability.

Refactor: Add publish button in ModalArticleSEO component

- Added a publish button to the ModalArticleSEO component to provide users with the ability to easily publish their articles.

- Aadded PubliactionSetting page

* fix: textarea autoheight

* dev: disable toolbar buttons when title in focus and some style adjustments

* dev: hide button when inputs in focus

* Refactor: Hide publish button when inputs are in focus

* refactor: button position

* refactor: update viewport height calculation and keyboard open state

* Refactor viewport height calculation and keyboard open state in Editor component

* Refactor handlePopupFocus in Editor component

* Refactor handlePopupFocus in Editor component

* Refactor handlePopupFocus in Editor component

* Refactor handlePopupFocus in Editor component

* Refactor modal SEO animation

* refactor: tags search

* Refactor overscroll behavior in Editor component

* Refactor TagsView component in Editor

* Refactor toolbar position in Editor component

* Refactor toolbar position in Editor component: Adjust button container position based on keyboard state

* Refactor toolbar position in Editor component: Update toolbar position based on keyboard state

* Refactor Editor component: Update CSS for underlined links

* dev: editor tablet view

* dev: tablet modals and editor

* dev: tablet views

* dev: desktop layout

* dev: desktop modals

* dev: load sportstacks

* refactor: publication settings with real data

* dev: terlary-gray button

* Refactor styles

* dev: requred title and text for publish button

* dev: tags popup remove selected tags and min-height

* dev: button size

* refactor: links

* fix: link on mobile

* refactor: editor toolbar icons & remove unused imports & fix focus issues

* dev: Editor image upload

* dev: change views on editor

* fix: disable capital latters in url

* dev: dropdown some styles

* dev: add real sportstack data

* dev: Editor max width and styles

* fix: cancel on link edit

* fix: link empty text issue

* dev: img sizes

* dev: headings

* dev: headings & tags hovers & setting input

* dev: haedings icons

* dev: title font-weight

* Refactor TagsView and Toolbar components

- Refactor the select function in TagsView component to handle tag selection more efficiently.
- Update the Toolbar component to disable dropdown input when the title is in focus.
- Adjust the position of the dropdown menu in the DropdownInput component to ensure it is visible within the viewport.

* Refactor Toolbar component styles

* Refactor toolbar and modal styles

* Refactor Editor component: disable primary button when title is empty or article content is less than 50 words

* ref: back button hover effect

* fix: file uploader hover

* Refactor hover effect on file uploader and back buttonr

* Refactor: Add border-radius to publication item in PublicationHome

* Refactor Editor component: add max-height and overflow properties to editor block

* Refactor Toolbar component: optimize view change behavior and remove redundant code

* dev: sportstack setting delete button

* dev: Publication Articles

* Refactor: Optimize view change behavior and add max-height and overflow properties to editor block

* dev: articles scroll

* dev: added modals & new design components

* fix avatar sizes

* refactor: modal width

* fix: settings layout

* refactor: extract URL info component

Extracted the URLInfo component from PublicationSettings.svelte to its own file for better code organization and reusability.

* refactor: update custom button gray border color

* refactor: remove unnecessary CSS property in PublicationSettings component

* refactor: remove unnecessary CSS property in PublicationSettings component

- Removed an unnecessary CSS property in the PublicationSettings component.
- The property was not being used and was causing unnecessary clutter in the code.

refactor: update custom button gray border color

- Updated the gray border color of the custom button component.
- The previous color was not visually appealing and did not match the overall design.

refactor: extract URL info component

- Extracted the URL info component from the PublicationArticleArticle component.
- This improves code organization and makes the code more modular.

fix: settings layout

- Fixed the layout issue in the settings component.
- The layout was not displaying correctly on certain screen sizes.

refactor: modal width

- Adjusted the width of the modal component.
- The previous width was not optimal and caused content to overflow.

* refactor: file uploader height issue

* dev: ArticlesLoader

* dev: Editor scroll

* dev: edit article

* dev: edit header buttons

* dev: styles & add modals & add no content

* fix editor issues

* fix publication article links and add return articles

* fix: styles

* refactor: Link insert popup

* fix: modal position

* refactor: modal position and some styles

* fix: selection issues

* fix: username validation

* dev: buttons links

* dev: Publication settings layout changings

* dev: change mobile widget publication dropdown position

* dev: tablet layout changes

* dev: Publication article css

* dev: PopupMenu

* Fix PopupMenu positioning issue

* dev: some css changes

* dev: update permalink on user input

* fix: Editor selection

* dev: Add button on home page

* fix: editor selection

* fix editor behaivior

* fix editor behaivior

* fix

* Revert "fix"

This reverts commit e10acd1f6fefc5b36ce3180d311bc6e9b8fe4c18.

* dev: revert changes

* dev: articles mobile paddings

* fix editor behaivior

* dev: articles css

* dev: confirm sportstack delete action

* dev: publication avatar size

* dev: css & layout changes for sportstack

* dev: correct publication and articles loaders

* fix: Disable save, publish buttons

* [dev] Server routes

* dev: Refactor sort-button styles in PublicationArticles component

* [dev] Articles align

* [dev] InfoMessage position

* dev: popup position

* dev: new Modal component

* fix: sort sportstacks

* fix: tablet view

* dev: upsert articles and sportstack

* dev: upload image logic

* dev: upload avatars

* dev: upload avatars

* fix: Publication Article error

* dev: create article seo and meta data

* dev: search tags

* dev: delete article and sportstack

* dev: delete article

* fix: Articles on sportstack page

* dev: upublish and upsert articles

* dev Edit article:

* dev: create articles & filter & sort

* dev: Create and edit drafts

* dev: edit articles

* dev: filter and sort direction

* chore: update method

* dev: redirect after creating publication

* dev: recent articles

* refactor: publish modals

* remove: dompurify from server

* fix: edit published articles

* dev: updates redirects and update scores-lib

* feat: add article opening functionality and improve save state indication

* fix: update textarea resizing logic to include title parameter

* dev: load more button

* feat: implement infinite scroll for publication articles on desktop

* fix: remove unnecessary code and update input validation logic in publication settings

* fix: add cleanup logic on component destruction and refactor saving state display

* fix: Article preview

* fix: update article publishing logic and improve modal handling

* fix: remove unpublished article status from publication articles

* fix: update @betarena/scores-lib dependency to version 4.0.28

* fix: update article fetching logic and improve error handling in sportstack endpoints

* dev: translations

* fix: adjust position of info message wrapper to improve visibility

* fix: comment out unused Twitter card image logic and adjust image styles for better layout

* fix: add showLoaders option to upsert function in EditArticle component

* fix: add publish functionality and new clipboard-check icon in PublicationArticleArticle component

* fix: update translations and improve error handling in publication components

* fix: append search parameters to language selection URL in navigation utility

* fix: add support for webp format in allowed image types for file uploads

* fix: remove unused image placeholder import and adjust avatar size in PublicationCard component

* fix: upadatings sportstack after saving changes

* fix: refactor CreateArticle component for improved readability and add showPublishModal function

* fix: change published date calculation from ceil to floor for accurate day difference

* revert commit

* fix: add timeAgo utility for improved published date display in Author-Main component

* fix: add support for .webp image format in file input for PublicationSettings component

* fix: simplify tag selection logic in TagsView component

* fix: add publication route to footer visibility logic in layout component

* feat: add create article button with icon in layout component

* fix: remove debug log and update conditional rendering for Twitter card image in Author-Main component

* fix: update z-index for sticky header in CreateArticle and EditArticle components

* fix: update placeholder text for SEO description in SeoView component

* feat: update scores-lib to version 4.0.29 and replace edit icon in create article button

* feat: implement infinite scroll for sportstacks in Widget-Author and PublicationArticles components

* fix: loader

* fix: adjust position of create article button in Layout component

* fix: update keywords formatting in article API response

* fix: correct total pages calculation in Widget-Author component

* fix: ensure recent articles are fetched based on selected sportstack in Widget-Publication component

* fix: add unauthorized error handling in publication layout

* fix: update unauthorized error handling to check sportstack UID in publication layout

* fix: increase limit of articles displayed in Widget-Author component

* fix: improve layout structure and scrolling behavior in DropDownInput component

* fix: update limit and offset handling in sportstack endpoint and adjust fetch request in publication layout

* fix: update alert message and placeholder text in PublicationSettings component

* fix: update dependencies and add language detection in article creation

* fix: add language support in article upsert and API handling

* crop avatar

* log error

* Revert "fix: update dependencies and add language detection in article creation"

This reverts commit 7df1a6966ed5a987473aa8c197349439452ed804.

* fix: update @betarena/scores-lib to version 4.0.30

* fix: adjust GraphQL query type and remove limit parameter in fetch request for sportstacks

* feat(load,type,endpoint): upgrade for redirect checks

[1] ────
Update modules in 'sveltekit/load/*' that require an update to the method 'promiseValidUrlCheck(..)' return values. Applied redirect logic to (1) 'load.authors.ts' and (2) 'load.sportstack.ts' modules.
[2] ────
New type declaration file 'types.response.d.ts' for  'IPermalinkValidationResponse'
[3] ────
Upgrade 'promiseValidUrlCheck(..)' method in 'navigation.ts' module for better latest code format structure and documenetation.
[4] ────
Upgrade 'api/data/main/seo-pages' route to adjust for redirect checks in target permalinks.

* build(scores-lib): update to 4.0.31

* refactor: clean up code structure and improve variable organization in Svelte components

* fix: update @betarena/scores-lib to version 4.0.32

* feat(auth): update new user registration creation flow

[1] ────
Update 'createFirestoreUser(..)' method for including the 'sportstack' creation workflow.

* build(scores-lib): update to 4.0.32

* build(scores-lib): update to 4.0.33

* fix(deps): update @betarena/scores-lib to version 4.0.33

* fix: update id reference in PublicationSettings.svelte and correct uid usage in delete request

* build(scores-lib): update to 4.0.34

* build(scores-lib): update to 4.0.35

* fix deepsource

* fix: change import to type for LayoutServerLoad in +layout.server.ts

* refactor: remove unnecessary comments and streamline response handling in +page.ts

* build(package): complete merge

[1] ────
VsCode did not correctly merge the code, applied corrections.

---------

Co-authored-by: Ivan Izobov <[email protected]>

v2.15.3

24 Oct 08:22
538a6b6
Compare
Choose a tag to compare
dev: public presale link (#2284) (#2285)

v2.15.2

16 Oct 17:08
c49492a
Compare
Choose a tag to compare
to-prod |:| optimonk and public presale redirect (#2280)

* Core/redirect to presale/draft/0 (#2278)

* dev: redirect to public presale

* add: buy botton redirect

* dev: buy button redirect

* add: optimonk (#2279)

v2.15.1

06 Aug 16:44
28e5dd0
Compare
Choose a tag to compare
fix: handle decimal values correctly in toDecimalFix function (#2264)…

v2.15.0

05 Aug 17:39
0245f4c
Compare
Choose a tag to compare
Feature/settings/draft/0 (#2262) (#2263)

* dev: Platform select

* dev: Profile settings

* dev: Platform Settings adjusts

* dev: Platfor setting dark theme inputs

v2.14.1

31 Jul 19:41
7f98775
Compare
Choose a tag to compare
dev-to-prod (#2261)

* dev: Improve User list (#2252)

* dev: share button (#2253)

* seo: Add author links to Article-Widget and Tags-Widget (#2254)

* Fix/article tags/draft/0 (#2255)

* dev: refactor tags wrapper

* dev: Tags breackpoint calculations

* fix: Breadcrumbs (#2256)

* dev: Profile footer (#2257)

* seo: Add author links to Article-Widget and Tags-Widget (#2258)

* Fix/sportstack seo/draft/0 (#2259)

* seo: Add author links to Article-Widget and Tags-Widget

* dev: SEO article tags and sportstack links

* fix: live events (#2260)

v2.14.0

25 Jul 14:50
9b869a3
Compare
Choose a tag to compare
dev-to-prod (#2250)

* dev: update new fields in profile

* dev: add domprify

* fix: Account settings input width

* fix: update textarea style in AccountSettings widget

* [dev] Mobile menu d'n'd targets

v2.13.0

25 Jul 08:00
2c2e629
Compare
Choose a tag to compare
dev-to-prod (#2248) (#2249)

v2.12.0

24 Jul 10:51
0052902
Compare
Choose a tag to compare
hotfix/firebase-functions-upgrade/draft/0 (#2247)

* chore(scores-lib): update imports and methods

[1] ────
Update 'imports' and 'methods' for newest 'scores-lib' 4.0.0 package update.

* build(scores-lib): update to 4.0.0

v2.11.6

02 Jul 12:32
11c17a1
Compare
Choose a tag to compare
dev-to-prod (#2243)