Commit Graph

117 Commits

Author SHA1 Message Date
MTG2000
3c9af29efc fix: profile menu alignment, lazy load comments section, remove log from trimFunc 2022-08-16 15:49:51 +03:00
MTG2000
70374b2769 fix: create a card component for all the cards, fix username overflow on mobile card, fix hottest page padding 2022-08-13 18:37:27 +03:00
MTG2000
eba9db3600 fix: remove nostr card from profile, rename 'Apps' to 'Projects' 2022-08-12 14:41:30 +03:00
MTG2000
8464d65358 feat: add toasts to the profile updating page 2022-08-10 17:48:58 +03:00
MTG2000
118dd3622a feat: change how the 'save changes' look and function in the profile settings 2022-08-10 16:16:27 +03:00
MTG2000
f73e55377c feat: implement custom modals for no-webln error on mobile and web
Fixes #91
2022-08-09 18:11:32 +03:00
MTG2000
6718d6fc7b chore: update seed script 2022-08-07 18:17:56 +03:00
MTG2000
28410541ed refactor: extract common carousel logic to custom useCarousel hook, hide carousel arrows if can't scroll more 2022-08-07 16:19:26 +03:00
MTG2000
64f02359fa refactor: update the carousel library used for a better and lighter one
removed the old 2 used carousel libs react-multi-carousel and react-responsive-carousel, and instead installed and used react-embla-carousel, as it provides an easier api, variable items width support, and less deps.
2022-08-07 00:09:37 +03:00
MTG2000
aee07ef23e udpate: better envs files structure, added separate env files for api 2022-08-06 14:41:21 +03:00
MTG2000
5dde7c3b0e fix: useInfiniteQuery typing 2022-08-06 14:00:48 +03:00
MTG2000
ea2e142baa feat: build settings page for profile, re-calc navHeight on resize, move the navHeight from js to css var 2022-08-06 13:10:49 +03:00
MTG2000
5ecd6a6a74 feat: show a blurred "Add Comment section" for unconnected users.
Fixes #114
2022-08-04 12:13:22 +03:00
MTG2000
6858639161 update: update navigation components
- Update 'products' to 'apps'
- Make nav content stay withing the same contains as the page body on large screen.
- Change nav items order on mobile
- Add emojis to profile menu items

#107
2022-08-03 10:55:30 +03:00
MTG2000
d43b3215bb feat: comments nostr tooltip, relays connection status, wrap nav content in page-container, show total comments count on story card, created prefernces service 2022-07-30 11:11:29 +03:00
MTG2000
a140208995 feat: add total votes to comments with reactivity 2022-07-29 12:33:05 +03:00
MTG2000
999e9402ce Merge branch 'dev' into nostr 2022-07-28 14:36:00 +03:00
MTG2000
266e89b656 fix: revert the blank-pages fix
The blank-pages fix that kept the current page mounted until the new page is ready seems to cause several severe visual bugs on some pages, so for now I reverted it until a better solution is found.
2022-07-28 14:34:11 +03:00
MTG2000
b28de208d5 feat: basic nostr-settings profile section 2022-07-28 14:14:53 +03:00
MTG2000
ae32f06302 Merge branch 'dev' into nostr 2022-07-27 18:05:46 +03:00
MTG2000
16d3b1dbd8 feat: built loading skeleton components for post-details-page, presist page when transitioning between pages instead of blank page 2022-07-27 18:04:41 +03:00
MTG2000
9492746441 Merge branch 'dev' into nostr 2022-07-25 20:32:19 +03:00
MTG2000
61fb44649c feat: enable voting to comment lightning address 2022-07-24 17:30:11 +03:00
MTG2000
1eba3fed81 fix: change build browserslist to fix BigInt native compatibiltiy 2022-07-24 15:52:18 +03:00
MTG2000
ff9c13481f feat: purify injected html in post & comments 2022-07-23 12:25:56 +03:00
MTG2000
ed874f1db3 fix: improve the sluggifying function 2022-07-21 08:38:27 +03:00
MTG2000
263e8c410d feat: more work on the commenting system 2022-07-20 18:36:51 +03:00
MTG2000
accbf67b1f feat: base commenting functions 2022-07-19 17:55:04 +03:00
MTG2000
f6b381ec23 fix: wrap title and tags on create-story-form
Fixes #85
2022-07-14 22:13:02 +03:00
MTG2000
f045ab8bf4 update: build story files for draftsContainer & storyForm 2022-07-14 12:02:21 +03:00
MTG2000
7cd6fc749c feat: built stories component in profile 2022-07-14 11:39:59 +03:00
MTG2000
a0e13327a6 feat: split the create-story component into multiple ones, build drafts api & components, build reset editor on drafts change, delete draft, dateDiff helper 2022-07-13 16:14:16 +03:00
MTG2000
0b0e1b5bb2 feat: build a new preview component, change the story form errors structure and display, store current draft in storage
Issues #67 #66
2022-07-12 13:17:43 +03:00
MTG2000
216133f893 feat: create preload hook, preload postDetailsPage 2022-07-12 10:56:39 +03:00
MTG2000
d41aeb948e feat: navbar layout, show createStory btn always, enchance protected route to redirect to the route that he came from, remove navbar in create story page
Fixes #74
2022-07-11 22:54:12 +03:00
MTG2000
3f6c344d16 feat: add description to tags, update the tags input structure, make post title biggest 2022-07-11 14:52:01 +03:00
MTG2000
6cfaa8e354 fix: fix multline breaks in post body, add slugs to urls 2022-06-15 21:05:52 +03:00
MTG2000
9a8dc9431b fix: fixing pre-launch issues
- refactor the tags topics stuff (apis/mocks/components)
- update TagsInput
- Change how feed page looks on tags filtering
2022-06-14 17:40:47 +03:00
MTG2000
3bb0100d36 fix: fixing pre-launch issues
- fix inconisistent border sizes & radius
- add back button to createStoryPage
- add cover image to story page
- update FAQs in donations page
2022-06-14 09:43:55 +03:00
MTG2000
13efd174e7 restore apilink 2022-06-05 21:12:41 +03:00
MTG2000
41b72cf6ad fix: enable cors on login/logout api 2022-06-05 21:11:49 +03:00
MTG2000
c9845b28da fix: restore apiEndpoint url 2022-06-05 20:55:20 +03:00
MTG2000
cd46e5a8c1 fix: enable cors in server 2022-06-05 20:54:14 +03:00
MTG2000
4c10b48869 chore: finish connecting profile about, add lightning_address to profile, fix global meta tags 2022-06-04 17:52:57 +03:00
MTG2000
2f9d05b8cb feat: Create story page
- topics input component
- refactor autocomplete component
- create staging slice
- fix post details username overflow
2022-06-03 22:35:31 +03:00
MTG2000
944661b842 chore: don't show login btn until loading meQuery, show error msg in case ln-auth fetch fail 2022-06-02 21:11:36 +03:00
MTG2000
5d902b66c3 fix: fix api funcs statusCode 2022-06-02 14:34:42 +03:00
MTG2000
255c6f4604 fix: fix login function directory 2022-06-02 14:15:01 +03:00
MTG2000
3023d8e20b feat: lnurl-auth login 2022-06-01 18:29:38 +03:00
MTG2000
9134bd4329 fix: update voteBtn sparks container on resize 2022-05-30 16:46:46 +03:00