Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/create sportstack/draft/1 #2290

Closed
wants to merge 272 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
18d75e8
fix: update import paths
migbash Sep 23, 2024
6eaa54b
dev: page route
Izobov Sep 23, 2024
e490823
fix: update button secondary style
Izobov Sep 24, 2024
f753747
style: update button and shadow styles
Izobov Sep 24, 2024
785b1ae
fix: route path
Izobov Sep 24, 2024
ddf5c98
Merge branch 'feature/create-sportstack/draft/0' of https://github.co…
Izobov Sep 24, 2024
46228a5
refactor: update imports and remove console.log
Izobov Sep 24, 2024
c06006e
fix: sort sportstacks by creation date in Widget-Author component
Izobov Sep 24, 2024
98019c1
refactor: remove frontend validation
Izobov Sep 24, 2024
bf35c1b
refactor: messages position
Izobov Sep 24, 2024
cd18c99
dev: update @betarena/scores-lib to version 4.0.10
Izobov Sep 27, 2024
30d554f
dev name sanitization in Widget-PublicationCreate component
Izobov Sep 27, 2024
a117fd6
merge
Izobov Sep 27, 2024
76c8895
dev: Widget Publication
Izobov Sep 27, 2024
a10e454
update @betarena/scores-lib to version 4.0.12
Izobov Sep 27, 2024
04431cd
fix: back button
Izobov Sep 27, 2024
274b1c0
Merge branch 'feature/create-sportstack/draft/0' of https://github.co…
Izobov Sep 27, 2024
573a152
dev: BTA 2.0 primitives
Izobov Sep 27, 2024
4d61e4d
dev: add highlighted sportstack
Izobov Sep 27, 2024
6752da7
Merge branch 'feature/create-sportstack/draft/0' of https://github.co…
Izobov Sep 28, 2024
5d0f52c
dev: new components
Izobov Sep 29, 2024
16b9cfb
dev: translations
Izobov Sep 29, 2024
3e5e41f
Fix translation issue in Widget-PublicationCreate component
Izobov Sep 29, 2024
e8a7746
Merge branch 'feature/create-sportstack/draft/0' of https://github.co…
Izobov Sep 29, 2024
4a3959a
feature: add tiptap & add page
Izobov Sep 29, 2024
1f7cfde
refactor: improve CreateArticle component
Izobov Sep 30, 2024
02fa0a3
refactor: improve CreateArticle component
Izobov Sep 30, 2024
5c21642
refactor: remove unused code and adjust styling in CreateArticle comp…
Izobov Sep 30, 2024
fd6f4fa
refactor: remove unused code, adjust styling, and add link popup func…
Izobov Sep 30, 2024
bd99783
refactor: adjust viewport meta tag in CreateArticle component
Izobov Sep 30, 2024
b2aa644
refactor: adjust viewport meta tag, fix virtual keyboard check, and i…
Izobov Sep 30, 2024
bc1f2af
dev: link popup
Izobov Sep 30, 2024
ab91106
Refactor: Disable link popup functionality in CreateArticle component
Izobov Sep 30, 2024
765d2f1
Refactor: Adjust viewport meta tag, fix virtual keyboard check, and i…
Izobov Oct 1, 2024
387f4bd
dev: tags and seo pages
Izobov Oct 2, 2024
106c6d7
Refactor: Adjust fade animation in Modal-Backdrop and remove redundan…
Izobov Oct 2, 2024
0a79ae1
Refactor: Add publish button in ModalArticleSEO component
Izobov Oct 2, 2024
68fd151
Refactor: editor toolbar border component and adjust styling
Izobov Oct 2, 2024
26e675f
Refactor: Adjust background color in ModalArticleSEO component
Izobov Oct 3, 2024
b4299a9
dev: tags animations
Izobov Oct 3, 2024
8b3faba
Refactor: Adjust view names in CreateArticle and ModalArticleSEO comp…
Izobov Oct 3, 2024
573c566
Refactor: Adjust view names in CreateArticle and ModalArticleSEO comp…
Izobov Oct 3, 2024
2c3fc30
fix: textarea autoheight
Izobov Oct 4, 2024
2b85802
dev: disable toolbar buttons when title in focus and some style adjus…
Izobov Oct 4, 2024
54287fd
dev: hide button when inputs in focus
Izobov Oct 4, 2024
eb851f2
Refactor: Hide publish button when inputs are in focus
Izobov Oct 4, 2024
f4080ce
refactor: button position
Izobov Oct 4, 2024
f8a7c45
refactor: update viewport height calculation and keyboard open state
Izobov Oct 4, 2024
0b66a54
Refactor viewport height calculation and keyboard open state in Edito…
Izobov Oct 4, 2024
3318512
Refactor handlePopupFocus in Editor component
Izobov Oct 4, 2024
a7b823f
Refactor handlePopupFocus in Editor component
Izobov Oct 4, 2024
f72ec78
Refactor handlePopupFocus in Editor component
Izobov Oct 4, 2024
b4f63cd
Refactor handlePopupFocus in Editor component
Izobov Oct 4, 2024
cde96d0
Refactor modal SEO animation
Izobov Oct 4, 2024
dced443
refactor: tags search
Izobov Oct 4, 2024
8fc9b77
Refactor overscroll behavior in Editor component
Izobov Oct 4, 2024
c14a615
Refactor TagsView component in Editor
Izobov Oct 4, 2024
105f4c3
Refactor toolbar position in Editor component
Izobov Oct 4, 2024
c2f4640
Refactor toolbar position in Editor component: Adjust button containe…
Izobov Oct 4, 2024
46f19f0
Refactor toolbar position in Editor component: Update toolbar positio…
Izobov Oct 4, 2024
136736c
Refactor Editor component: Update CSS for underlined links
Izobov Oct 4, 2024
fae045c
dev: editor tablet view
Izobov Oct 4, 2024
2bc99c8
dev: tablet modals and editor
Izobov Oct 5, 2024
13c29a3
dev: tablet views
Izobov Oct 5, 2024
19614a8
dev: desktop layout
Izobov Oct 7, 2024
393b3ee
dev: desktop modals
Izobov Oct 7, 2024
277b077
dev: load sportstacks
Izobov Oct 7, 2024
69cbc8c
refactor: publication settings with real data
Izobov Oct 7, 2024
5447bba
dev: terlary-gray button
Izobov Oct 7, 2024
b396de3
Refactor styles
Izobov Oct 7, 2024
fd4d619
dev: requred title and text for publish button
Izobov Oct 7, 2024
cb4b0da
dev: tags popup remove selected tags and min-height
Izobov Oct 7, 2024
c3efea4
dev: button size
Izobov Oct 7, 2024
1209162
refactor: links
Izobov Oct 8, 2024
c9d57e7
fix: link on mobile
Izobov Oct 9, 2024
2568ea3
refactor: editor toolbar icons & remove unused imports & fix focus is…
Izobov Oct 9, 2024
57d0990
dev: Editor image upload
Izobov Oct 9, 2024
ba11da1
dev: change views on editor
Izobov Oct 9, 2024
041d7e8
fix: disable capital latters in url
Izobov Oct 9, 2024
ee22088
dev: dropdown some styles
Izobov Oct 9, 2024
50639b4
dev: add real sportstack data
Izobov Oct 9, 2024
ce74c38
dev: Editor max width and styles
Izobov Oct 10, 2024
029ecdb
fix: cancel on link edit
Izobov Oct 10, 2024
1a74eb2
fix: link empty text issue
Izobov Oct 10, 2024
ea3048f
dev: img sizes
Izobov Oct 10, 2024
2696bf6
dev: headings
Izobov Oct 10, 2024
c2c5046
dev: headings & tags hovers & setting input
Izobov Oct 10, 2024
0deed62
dev: haedings icons
Izobov Oct 11, 2024
1a53b9a
dev: title font-weight
Izobov Oct 11, 2024
007ea5c
Refactor TagsView and Toolbar components
Izobov Oct 11, 2024
06a3cb6
Refactor Toolbar component styles
Izobov Oct 11, 2024
07ca52a
Refactor toolbar and modal styles
Izobov Oct 11, 2024
c63d101
Refactor Editor component: disable primary button when title is empty…
Izobov Oct 11, 2024
ee9b27f
ref: back button hover effect
Izobov Oct 14, 2024
3acc6b3
fix: file uploader hover
Izobov Oct 14, 2024
e15639d
Refactor hover effect on file uploader and back buttonr
Izobov Oct 14, 2024
aad6f36
Refactor: Add border-radius to publication item in PublicationHome
Izobov Oct 14, 2024
6f8dbb8
Refactor Editor component: add max-height and overflow properties to …
Izobov Oct 14, 2024
0420e89
Refactor Toolbar component: optimize view change behavior and remove …
Izobov Oct 14, 2024
6d0288f
dev: sportstack setting delete button
Izobov Oct 14, 2024
69b2067
dev: Publication Articles
Izobov Oct 14, 2024
2e7a758
Refactor: Optimize view change behavior and add max-height and overfl…
Izobov Oct 14, 2024
f731953
dev: articles scroll
Izobov Oct 14, 2024
d857228
dev: added modals & new design components
Izobov Oct 15, 2024
2e58d06
fix avatar sizes
Izobov Oct 15, 2024
20cbe9c
refactor: modal width
Izobov Oct 15, 2024
91f1ec5
fix: settings layout
Izobov Oct 15, 2024
f507151
refactor: extract URL info component
Izobov Oct 15, 2024
bd85ca6
refactor: update custom button gray border color
Izobov Oct 15, 2024
f02ec2d
refactor: remove unnecessary CSS property in PublicationSettings comp…
Izobov Oct 15, 2024
c6bc882
refactor: remove unnecessary CSS property in PublicationSettings comp…
Izobov Oct 16, 2024
aea8b79
refactor: file uploader height issue
Izobov Oct 16, 2024
da0a834
dev: ArticlesLoader
Izobov Oct 16, 2024
15b7f3f
dev: Editor scroll
Izobov Oct 17, 2024
953dfe9
dev: edit article
Izobov Oct 17, 2024
5725e76
dev: edit header buttons
Izobov Oct 17, 2024
489bded
dev: styles & add modals & add no content
Izobov Oct 18, 2024
c46e031
fix editor issues
Izobov Oct 18, 2024
5e750ae
fix publication article links and add return articles
Izobov Oct 19, 2024
ca5091c
fix: styles
Izobov Oct 21, 2024
5b4cd60
refactor: Link insert popup
Izobov Oct 21, 2024
031c7c5
fix: modal position
Izobov Oct 21, 2024
e72a194
refactor: modal position and some styles
Izobov Oct 21, 2024
0f75c65
fix: selection issues
Izobov Oct 21, 2024
4c12481
fix: username validation
Izobov Oct 21, 2024
ee0a0db
dev: buttons links
Izobov Oct 22, 2024
4fb9faa
dev: Publication settings layout changings
Izobov Oct 22, 2024
7b09c5b
dev: change mobile widget publication dropdown position
Izobov Oct 22, 2024
86eef11
dev: tablet layout changes
Izobov Oct 22, 2024
c19320d
dev: Publication article css
Izobov Oct 22, 2024
a857e99
dev: PopupMenu
Izobov Oct 23, 2024
6784094
Fix PopupMenu positioning issue
Izobov Oct 23, 2024
a57c934
dev: some css changes
Izobov Oct 23, 2024
a80cf62
dev: update permalink on user input
Izobov Oct 23, 2024
29c6bfc
fix: Editor selection
Izobov Oct 23, 2024
30b91dc
dev: Add button on home page
Izobov Oct 23, 2024
fe44e0b
fix: editor selection
Izobov Oct 23, 2024
ac5191c
fix editor behaivior
Izobov Oct 23, 2024
da35c4e
fix editor behaivior
Izobov Oct 23, 2024
e10acd1
fix
Izobov Oct 23, 2024
07c965b
Revert "fix"
Izobov Oct 23, 2024
147e99b
dev: revert changes
Izobov Oct 23, 2024
651aa87
dev: articles mobile paddings
Izobov Oct 23, 2024
0d994af
fix editor behaivior
Izobov Oct 23, 2024
328a262
dev: articles css
Izobov Oct 23, 2024
973c1b7
dev: confirm sportstack delete action
Izobov Oct 24, 2024
2b2804e
dev: publication avatar size
Izobov Oct 24, 2024
96e92d9
dev: css & layout changes for sportstack
Izobov Oct 24, 2024
744c569
dev: correct publication and articles loaders
Izobov Oct 24, 2024
8e6fa91
fix: Disable save, publish buttons
Izobov Oct 24, 2024
adce5a1
[dev] Server routes
Izobov Nov 1, 2024
9fc8fdd
dev: Refactor sort-button styles in PublicationArticles component
Izobov Nov 1, 2024
43ff345
[dev] Articles align
Izobov Nov 1, 2024
13394ee
[dev] InfoMessage position
Izobov Nov 1, 2024
4604ff0
dev: popup position
Izobov Nov 1, 2024
2c1d7f0
dev: new Modal component
Izobov Nov 1, 2024
919cf89
fix: sort sportstacks
Izobov Nov 1, 2024
c439974
fix: tablet view
Izobov Nov 1, 2024
b8f560e
dev: upsert articles and sportstack
Izobov Nov 5, 2024
13c5c1e
dev: upload image logic
Izobov Nov 5, 2024
c9e383c
dev: upload avatars
Izobov Nov 6, 2024
bf27eb3
dev: upload avatars
Izobov Nov 6, 2024
e0bd544
fix: Publication Article error
Izobov Nov 6, 2024
2788063
dev: create article seo and meta data
Izobov Nov 6, 2024
bdccd75
dev: search tags
Izobov Nov 7, 2024
894af3b
dev: delete article and sportstack
Izobov Nov 7, 2024
4065ab0
dev: delete article
Izobov Nov 7, 2024
77ea59f
fix: Articles on sportstack page
Izobov Nov 7, 2024
f964997
dev: upublish and upsert articles
Izobov Nov 7, 2024
38a08a4
dev Edit article:
Izobov Nov 9, 2024
82073b2
dev: create articles & filter & sort
Izobov Nov 11, 2024
8c3f2b5
dev: Create and edit drafts
Izobov Nov 12, 2024
c92d887
dev: edit articles
Izobov Nov 12, 2024
98404f4
dev: filter and sort direction
Izobov Nov 12, 2024
35301f0
chore: update method
Izobov Nov 12, 2024
edc997a
dev: redirect after creating publication
Izobov Nov 12, 2024
0f825bc
dev: recent articles
Izobov Nov 13, 2024
2ffc073
refactor: publish modals
Izobov Nov 13, 2024
a274c43
remove: dompurify from server
Izobov Nov 13, 2024
3cd7e86
fix: edit published articles
Izobov Nov 13, 2024
90a4893
dev: updates redirects and update scores-lib
Izobov Nov 14, 2024
a09d905
feat: add article opening functionality and improve save state indica…
Izobov Nov 14, 2024
555c053
fix: update textarea resizing logic to include title parameter
Izobov Nov 14, 2024
bfb630a
dev: load more button
Izobov Nov 14, 2024
d419314
feat: implement infinite scroll for publication articles on desktop
Izobov Nov 14, 2024
784d48f
fix: remove unnecessary code and update input validation logic in pub…
Izobov Nov 14, 2024
e4ec109
fix: add cleanup logic on component destruction and refactor saving s…
Izobov Nov 14, 2024
5e12124
fix: Article preview
Izobov Nov 14, 2024
a2fc886
fix: update article publishing logic and improve modal handling
Izobov Nov 14, 2024
aeca96b
fix: remove unpublished article status from publication articles
Izobov Nov 15, 2024
d5b17d1
fix: update @betarena/scores-lib dependency to version 4.0.28
Izobov Nov 15, 2024
93683d7
fix: update article fetching logic and improve error handling in spor…
Izobov Nov 15, 2024
a6c6b4b
dev: translations
Izobov Nov 15, 2024
d3c4660
fix: adjust position of info message wrapper to improve visibility
Izobov Nov 15, 2024
bee11e8
fix: comment out unused Twitter card image logic and adjust image sty…
Izobov Nov 15, 2024
f09400e
fix: add showLoaders option to upsert function in EditArticle component
Izobov Nov 15, 2024
edd45a6
fix: add publish functionality and new clipboard-check icon in Public…
Izobov Nov 15, 2024
3fb3130
fix: update translations and improve error handling in publication co…
Izobov Nov 16, 2024
f6a20e4
fix: append search parameters to language selection URL in navigation…
Izobov Nov 16, 2024
4e234bc
fix: add support for webp format in allowed image types for file uploads
Izobov Nov 16, 2024
253b7b8
fix: remove unused image placeholder import and adjust avatar size in…
Izobov Nov 17, 2024
0384c1a
fix: upadatings sportstack after saving changes
Izobov Nov 17, 2024
676cab2
fix: refactor CreateArticle component for improved readability and ad…
Izobov Nov 17, 2024
09f4506
fix: change published date calculation from ceil to floor for accurat…
Izobov Nov 17, 2024
f91af3f
revert commit
Izobov Nov 17, 2024
55fd2d1
fix: add timeAgo utility for improved published date display in Autho…
Izobov Nov 17, 2024
ad31c97
fix: add support for .webp image format in file input for Publication…
Izobov Nov 17, 2024
cb60e49
fix: simplify tag selection logic in TagsView component
Izobov Nov 17, 2024
95932c3
fix: add publication route to footer visibility logic in layout compo…
Izobov Nov 17, 2024
02a5f4b
feat: add create article button with icon in layout component
Izobov Nov 17, 2024
3b42bc6
fix: remove debug log and update conditional rendering for Twitter ca…
Izobov Nov 18, 2024
c12892b
fix: update z-index for sticky header in CreateArticle and EditArticl…
Izobov Nov 18, 2024
a2478cd
fix: update placeholder text for SEO description in SeoView component
Izobov Nov 18, 2024
6b3d905
feat: update scores-lib to version 4.0.29 and replace edit icon in cr…
Izobov Nov 18, 2024
d9c3a19
feat: implement infinite scroll for sportstacks in Widget-Author and …
Izobov Nov 18, 2024
56250ad
fix: loader
Izobov Nov 18, 2024
142a1c9
fix: adjust position of create article button in Layout component
Izobov Nov 18, 2024
82d7911
fix: update keywords formatting in article API response
Izobov Nov 18, 2024
af66438
fix: correct total pages calculation in Widget-Author component
Izobov Nov 18, 2024
1464568
fix: ensure recent articles are fetched based on selected sportstack …
Izobov Nov 18, 2024
d95ea63
fix: add unauthorized error handling in publication layout
Izobov Nov 18, 2024
1380cf0
fix: update unauthorized error handling to check sportstack UID in pu…
Izobov Nov 18, 2024
0ac61cf
fix: increase limit of articles displayed in Widget-Author component
Izobov Nov 18, 2024
339fb34
fix: improve layout structure and scrolling behavior in DropDownInput…
Izobov Nov 18, 2024
83428a0
fix: update limit and offset handling in sportstack endpoint and adju…
Izobov Nov 18, 2024
ebfec78
fix: update alert message and placeholder text in PublicationSettings…
Izobov Nov 18, 2024
7df1a69
fix: update dependencies and add language detection in article creation
Izobov Nov 19, 2024
4aff6ff
fix: add language support in article upsert and API handling
Izobov Nov 19, 2024
e485529
crop avatar
Izobov Nov 19, 2024
7235875
log error
Izobov Nov 19, 2024
998db78
Revert "fix: update dependencies and add language detection in articl…
Izobov Nov 19, 2024
6f32a2f
fix: update @betarena/scores-lib to version 4.0.30
Izobov Nov 19, 2024
6f3972c
fix: adjust GraphQL query type and remove limit parameter in fetch re…
Izobov Nov 19, 2024
cc37080
feat(load,type,endpoint): upgrade for redirect checks
migbash Nov 20, 2024
5dcbe19
build(scores-lib): update to 4.0.31
migbash Nov 20, 2024
ac44f5e
refactor: clean up code structure and improve variable organization i…
Izobov Nov 20, 2024
e315e72
fix: update @betarena/scores-lib to version 4.0.32
Izobov Nov 20, 2024
f6d1e2f
feat(auth): update new user registration creation flow
migbash Nov 20, 2024
f3292f5
build(scores-lib): update to 4.0.32
migbash Nov 20, 2024
bc1e49a
Merge branch 'feature/create-sportstack/draft/1' of https://github.co…
migbash Nov 20, 2024
bf1a9bd
build(scores-lib): update to 4.0.33
migbash Nov 20, 2024
d659300
fix(deps): update @betarena/scores-lib to version 4.0.33
Izobov Nov 20, 2024
4347961
fix(deps): update package-lock.json to use pnpm version 9.11.0
Izobov Nov 20, 2024
f2b04a6
fix: update id reference in PublicationSettings.svelte and correct ui…
Izobov Nov 20, 2024
f86b171
build(scores-lib): update to 4.0.34
migbash Nov 20, 2024
43f447d
build(scores-lib): update to 4.0.35
migbash Nov 20, 2024
6a6b9ad
merge dev to working branch
Izobov Nov 21, 2024
fcc71c5
fix deepsource
Izobov Nov 21, 2024
c9874cd
fix: change import to type for LayoutServerLoad in +layout.server.ts
Izobov Nov 21, 2024
0653718
refactor: remove unnecessary comments and streamline response handlin…
Izobov Nov 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Article preview
Izobov committed Nov 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 5e12124a8af32dfd640426663134ed576d393bfa
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@
import type { IPageAuthorTranslationDataFinal } from '@betarena/scores-lib/types/v8/segment.authors.tags.js';
import { readingTime } from '../helpers.js';
import TranslationText from '$lib/components/misc/Translation-Text.svelte';
import SportstackAvatar from '$lib/components/ui/SportstackAvatar.svelte';
import SportstackAvatar from '$lib/components/ui/SportstackAvatar.svelte';

// #endregion ➤ 📦 Package Imports

@@ -96,7 +96,7 @@
username: 'unknow',
avatar: defaultAvatar,
});
$: ({ images = [] } = seo_details || {});
$: ({ images = [] } = seo_details?.opengraph || {});
$: ({ title = "", content = "" } = data || {});
$: sportstackUrl = `/a/sportstack/${username.toLowerCase().replaceAll(' ', '-')}`;
$: date = timeAgo(published_date, translations.time_ago);