Commit Graph

370 Commits

Author SHA1 Message Date
Hamid Reza Mohammadi
2752ee8a82 improve UI/UX of the User Area
#496
2026-08-06 21:55:47 +03:30
Hamid Reza Mohammadi
15701ef1d8 improve UI/UX of the User Area
#496
2026-08-06 21:23:44 +03:30
Hamid Reza Mohammadi
245faf0710 improve UI/UX of the User Area
#496
2026-08-06 21:09:25 +03:30
Hamid Reza Mohammadi
376bf2cf87 improve UI/UX of the User Area
#496
2026-08-06 20:29:57 +03:30
Hamid Reza Mohammadi
1b08a5c935 improve UI/UX of the User Area
#496
2026-08-06 19:48:02 +03:30
Hamid Reza Mohammadi
f1deeb7895 improve UI/UX of the Admin Area
#497
2026-08-05 18:24:30 +03:30
Hamid Reza Mohammadi
989defdf62 improve UI/UX of the User Area
#496
2026-08-05 13:56:18 +03:30
Hamid Reza Mohammadi
ada2dc5028 improve UI/UX of the User Area
#496
2026-08-05 13:23:37 +03:30
Claude
f09b9de84a User panel: Phase 0 shared UI foundations
- Add design-token stylesheet (wwwroot/css/user-panel.css): CSS variables
  derived from the existing p8.css palette (brand maroon, success/danger
  colors, radius, shadow), plus reusable component classes (card, button
  variants, alert, badge, empty state, pagination, list item, toast,
  confirm modal). Includes a prefers-color-scheme dark block compatible
  with the existing toggleColorScheme() mechanism in bk.js.
- Add wwwroot/js/user-panel.js: upConfirm() and upToast() helpers as
  styled, promise-based replacements for window.confirm()/alert(),
  falling back to the native dialogs if the modal/toast markup isn't
  present on a page.
- Add Areas/User/Pages/Shared/ partials: _Pagination (wraps the
  List<NameIdUrlImage> pattern already used by every list page),
  _EmptyState, _Toasts and _ConfirmModal (hosts, included once by the
  layout).
- Wire the new stylesheet/script and the toast/modal hosts into
  _UserPanelLayout.cshtml.
- Refactor Notifications.cshtml as a first demonstration: replaces the
  hand-rolled pagination loop, manual gray/lightsteelblue row
  alternation, and confirm()/alert() calls with the new components.

No backend/API changes. Rest of the User area is untouched pending
Phase 1+ (nav/dashboard, forms, remaining list pages, moderation
queues, editors).
2026-08-05 12:58:00 +03:30
Hamid Reza Mohammadi
7eb727431b two step pagination 2026-08-04 20:59:19 +03:30
Hamid Reza Mohammadi
2fcf7241f2 new sorting option 2026-08-04 20:58:05 +03:30
Hamid Reza Mohammadi
1e4527591c #495 comments pagination 2026-08-04 19:00:08 +03:30
Hamid Reza Mohammadi
ff3e82e897 #495 comment ratings 2026-08-04 18:24:35 +03:30
Hamid Reza Mohammadi
6cda2ab299 refactoring 2026-07-16 16:39:13 +03:30
Hamid Reza Mohammadi
412a77a30c #493 last visit of user for poem 2026-06-27 15:58:22 +03:30
Hamid Reza Mohammadi
c8e675cb1f #489 making Vazirmatn font local 2026-06-08 18:39:54 +03:30
Hamid Reza Mohammadi
dcbd43c480 #489 making Vazirmatn font local 2026-06-08 18:32:45 +03:30
Hamid Reza Mohammadi
162adcea30 #489 making Vazirmatn font local 2026-06-08 17:03:57 +03:30
hhsaffar
3cd966dab6
Update p8.css. Fixing circled-number-container class.
After changing the circled-number class's display property to inline-grid there was bug in showing circled numbers that didn't contain text (for example the one that points to the map section in the first page.). This commit fixes the bug.
2026-02-10 18:03:21 +03:30
hhsaffar
ef19833670
Update p8.css
Centeralizing icons in the toolbar above the poems.
2026-02-06 20:03:44 +03:30
Hamid Reza Mohammadi
95b44fafab fix colors in ganjoor map in dark mode #482 2025-11-18 12:06:09 +03:30
Hamid Reza Mohammadi
c6c61f720b changing background 2025-06-12 10:20:17 +03:30
Hamid Reza Mohammadi
9407babe79 display stats of visits for categories and poems
#481
2025-05-25 08:17:29 +03:30
Hamid Reza Mohammadi
9d118cc218 display stats of visits for categories and poems
#481
2025-05-23 08:39:50 +03:30
Hamid Reza Mohammadi
18aaececca display stats of visits for categories and poems
#481
2025-05-22 10:03:20 +03:30
Hamid Reza Mohammadi
6f1328e508 display stats of visits for categories and poems
#481
2025-05-22 09:43:58 +03:30
Hamid Reza Mohammadi
08754bd1c0 #480 simplfying ui 2025-05-19 06:55:11 +03:30
Hamid Reza Mohammadi
06d15de5d8 #480 fix 2025-05-18 18:56:22 +03:30
Hamid Reza Mohammadi
be71ef6632 #480 simplifying ui 2025-05-18 18:51:05 +03:30
Hamid Reza Mohammadi
163ce8c41f #480 removing some backgrounds 2025-05-18 18:28:45 +03:30
Hamid Reza Mohammadi
6f552089b9 #480 using google Vazirmatn instead of local Vazir font 2025-05-18 18:19:08 +03:30
Hamid Reza Mohammadi
19035a62fe labels for charts are unreadable in dark mode
#479
2025-04-01 11:15:38 +03:30
Hamid Reza Mohammadi
25394f8b6e #478 contribs page 2025-03-30 21:06:51 +03:30
Hamid Reza Mohammadi
22fb47c3a7 #478 contribs page 2025-03-30 19:55:50 +03:30
Hamid Reza Mohammadi
600e01d1f2 #478 contribs page 2025-03-30 19:36:14 +03:30
Hamid Reza Mohammadi
69594e9882 #478 contribs page 2025-03-30 11:47:10 +03:30
Hamid Reza Mohammadi
b3a443e1db #478 contribs page 2025-03-29 21:26:31 +03:30
Hamid Reza Mohammadi
a9c1dfe8a1 #478 contribs page 2025-03-29 21:04:35 +03:30
Hamid Reza Mohammadi
483834df4e #478 extending charts 2025-03-29 20:05:21 +03:30
Hamid Reza Mohammadi
b2d10c2df9 restore poets page layout to make all its sections accessible while scrolling #475 2025-03-12 20:07:44 +03:30
Hamid Reza Mohammadi
61aeba8558 restore poets page layout to make all its sections accessible while scrolling #475 2025-03-12 19:57:23 +03:30
Hamid Reza Mohammadi
d6943b542d comparison of usage stats of a selected word among all poets #471 2025-03-09 14:33:17 +03:30
Hamid Reza Mohammadi
d9fb060fb9 comparison of usage stats of a selected word among all poets #471 2025-03-09 14:28:47 +03:30
Hamid Reza Mohammadi
25e2722ba2 comparison of usage stats of a selected word among all poets #471 2025-03-08 19:41:04 +03:30
Hamid Reza Mohammadi
8b0a9ca025 comparison of usage stats of a selected word among all poets #471 2025-03-05 16:45:13 +03:30
Hamid Reza Mohammadi
d1930c7a8b removing naskban links: bug fix + an option for not removing ganjoor links 2025-02-03 16:59:31 +03:30
Hamid Reza Mohammadi
233cfee0b0 plot charts for all statistical tables
#466
2025-01-31 18:36:47 +03:30
Hamid Reza Mohammadi
e4f923caa5 plot charts for all statistical tables
#466
2025-01-31 18:16:07 +03:30
Hamid Reza Mohammadi
a51fbedded plot charts for all statistical tables
#466
2025-01-31 18:06:46 +03:30
Hamid Reza Mohammadi
90983cfd1c copy couplet summaries 2025-01-30 13:58:46 +03:30