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

feat: add admin dashboard for managing answers #508

Open
wants to merge 40 commits into
base: develop
Choose a base branch
from

Conversation

grzegorzpokorski
Copy link
Member

@grzegorzpokorski grzegorzpokorski commented Jan 29, 2023

Rozwiązuje: #478, #506

  • dodanie endpointu /answers do wyciągania odpowiedzi do pytań z bazy, z możliwością ich sortowania po: liczbie głosów, dacie dodania oraz dacie ostatniej edycji.
  • dodanie panelu do zarządzania wszystkimi odpowiedziami do pytań (edycja, usuwanie, przeglądanie) (komponent: AnswersDashboard),
  • dodanie możliwości sortowania pytań po dacie edycji,
  • dodanie możliwości sortowania odpowiedzi w panelu zarządzania odpowiedziami,
  • zmiana etykiet wyboru sposobu sortowania tak, aby były spójne oraz jednoznacznie wskazywały, co dana opcja powoduje,
  • przebudowa / wyodrębnienie przycisku do wybierania rodzaju sortowania do nowego komponentu (SortBySelect, SelectLabel),
  • dostosowanie funkcji parseSortByQuery z app/lib/order.ts tak, aby współpracowała z innym zestawem elementów przekazywanych do komponentu SortBySelect,
  • dodanie nowego linku do CtaHeader oraz dostosowanie styli,
  • dodanie możliwości przekazania własnej wiadomości do komponentu Error,
  • uniemożliwienie zapisu pustej odpowiedzi w trybie edycji odpowiedzi oraz dodania pustej odpowiedzi,
  • drobne poprawki.

@vercel
Copy link

vercel bot commented Jan 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
devfaq ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 31, 2023 at 10:25PM (UTC)

@grzegorzpokorski grzegorzpokorski changed the title feat: admin dashboard for managing answers feat: add admin dashboard for managing answers Jan 29, 2023
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device URL
mobile https://devfaq-62kdmlf8g-typeofweb.vercel.app

Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead

@github-actions
Copy link

github-actions bot commented Jan 29, 2023

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 83.38 KB (🟡 +7 B)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device URL
mobile https://devfaq-dtbhsdbgz-typeofweb.vercel.app

Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device URL
mobile https://devfaq-9lcnkhw06-typeofweb.vercel.app

Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead

@grzegorzpokorski grzegorzpokorski marked this pull request as ready for review January 30, 2023 15:35
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device URL
mobile https://devfaq-5cryetsym-typeofweb.vercel.app

Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device URL
mobile https://devfaq-kpu9g5hye-typeofweb.vercel.app

Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device URL
mobile https://devfaq-dwcdjlywz-typeofweb.vercel.app

Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device URL
mobile https://devfaq-o92b4w4nk-typeofweb.vercel.app

Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
2.3% 2.3% Duplication

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Device URL
mobile https://devfaq-786s4ak7q-typeofweb.vercel.app

Not what you expected? Are your scores flaky? GitHub runners could be the cause.
Try running on Foo instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant