feat: add ability to sort questions by update / edit date - #507
feat: add ability to sort questions by update / edit date#507grzegorzpokorski wants to merge 28 commits into
Conversation
* fix(app): change logout trigger * fix(app): add accessible name to logout button * Update apps/app/src/components/Header/UserAvatar.tsx Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * fix typo Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl>
fix(app): fix oklch colors
* feat(app): add answer editor to question answer * refactor(app): change mutation name
… fixes to lockScroll (#489) * feat(app): add 'useIsAboveBreakpoint' hook * refactor(app): refactor 'pageScroll' utility file * feat(app): add focus lock in HeaderNavigation * fix(app): changes in BaseModal to reflect changes in pageScroll * feat(app): add focus trap in 'QuestionsSidebar' * fix(app): fix hamburger button position * fix scrollbar gutter * Update apps/app/src/utils/pageScroll.ts Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * Update apps/app/src/utils/pageScroll.ts Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * refactor(app): change types declarations in 'pageScroll' * refactor(app): refactor styles related to scrollbar on page * Update apps/app/src/components/Header/HeaderNavigation.tsx Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * refactor(app): refactor 'HeaderNavigation' * fix(app): fix typo Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl>
* feat: add editing own questions * refactor(app): refactor useGetAllQuestions * fix(app): fix typo * fix(app): remove unnecessary renderings
* feat(app): add user context menu * feat(app): improvements related to UserMenu * fix(app): add aria attributes to 'UserMenu' and remove unused imports * fix(app): user avatar size adjustments * refactor(app): refactor html structure in 'UserMenu' * refactor(app) remove unused import from "UserAvatar" * Update apps/app/src/hooks/useIsAboveBreakpoint.ts Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * Update apps/app/src/hooks/useIsAboveBreakpoint.ts Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * Update apps/app/src/components/Header/UserMenu.tsx Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * Update apps/app/src/components/Header/UserMenu.tsx Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * Update apps/app/src/components/Header/UserMenu.tsx Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * refactor(app): remove span tag from "LoginNavigationLink" * refactor(app): remove span tag from button content in 'UserMenu' Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl>
* fix(app): fix styles in "AdminPanel" * fix(app): fix styles in "UserQuestions"
…#498) * feat(app): close modal on press Escape key * feat(app): add "useOnPressKey" hook * refactor(app): implement "useOnPressKey" hook in "BaseModal" * Update apps/app/src/components/BaseModal/BaseModal.tsx Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl> * refactor(app): rename hook "useOnPressKey" => "useOnKeydown" * refactor(app): refactor "UserMenu" component Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
| Device | URL |
|---|---|
| mobile | https://devfaq-e5ia312aj-typeofweb.vercel.app |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
📦 Next.js Bundle AnalysisThis analysis was generated by the next.js bundle analysis action 🤖 This PR introduced no changes to the javascript bundle 🙌 |
There was a problem hiding this comment.
| Device | URL |
|---|---|
| mobile | https://devfaq-d4lqa6546-typeofweb.vercel.app |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
* fix: fix a11y name in "CloseButton" * chore: add path of the prettier config file to the vsc workspace settings
Co-authored-by: Michał Miszczyszyn <michal@mmiszy.pl>
There was a problem hiding this comment.
| Device | URL |
|---|---|
| mobile | https://devfaq-145p8jmik-typeofweb.vercel.app |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
There was a problem hiding this comment.
| Device | URL |
|---|---|
| mobile | https://devfaq-r7meidzdl-typeofweb.vercel.app |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
There was a problem hiding this comment.
| Device | URL |
|---|---|
| mobile | https://devfaq-f4nkd4ft8-typeofweb.vercel.app |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead
…question page for admin (#502) * feat(app): add ability to edit questions on questions list to admin * feat(app): add ability to edit question on question page to admin * fix(app): refetch questions after edit one of them in user panel * fix(app): fix text align in "CtaHedaerActiveLink" * Remove unused import * chore: add prettier config file to worspace config * fix: update questions list after edit any of them in user dashboard * fix: add loading indicator to questions list in dashboards * fix: disable ssr for QuestionsManagement on questions pages * fix: small improvements in "EditAnswer" and "AnswerForm" * fix: remove unused import * fix: refresh ssr generated page after edit question * fix: remove unused import * fix: fix vercel deployment * fix: rename function name "customOnClose" => "additionalActionOnClose" * feat: change loading indicator component * fix: improve "Loading" component styles * fix: improve loader a11y * fix: improve styles of "Loading" component * fix: improve light theme of loading component * Update apps/app/src/components/Loading.tsx * implement "additionalActionOnClose" function in dashboard modals * improve loading component and implement this changes
|
Kudos, SonarCloud Quality Gate passed!
|
There was a problem hiding this comment.
| Device | URL |
|---|---|
| mobile | https://devfaq-5jgujf19z-typeofweb.vercel.app |
Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead








Rozwiązuje #506 (Dodanie możliwości sortowania pytań po dacie aktualizacji / edycji). Dodatkowo dodaje możliwość sortowania pytań w panelu użytkownika oraz administratora.