Skip to content

Context menu for category actions - #1670

Draft
psilabs-dev wants to merge 1 commit into
Difegue:devfrom
psilabs-dev:dev-category-actions/main
Draft

psilabs-dev wants to merge 1 commit into
Difegue:devfrom
psilabs-dev:dev-category-actions/main

Conversation

@psilabs-dev

@psilabs-dev psilabs-dev commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Depends on: #1698

Adds an admin context menu for category actions with the following options:

  • set/unset a static category as bookmark
  • pin/unpin a category
  • delete a category

Dynamic category:
Screenshot 2026-07-08 at 3 32 30 PM

Static category:
Screenshot 2026-07-08 at 3 32 00 PM

And refactor/fix the bookmark which previously lived in the 10-capped category presentation (which breaks if we have more than 10 cats), might need a dedicated PR for that

psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Aug 16, 2026
@psilabs-dev
psilabs-dev marked this pull request as draft August 17, 2026 01:27
@psilabs-dev
psilabs-dev force-pushed the dev-category-actions/main branch from bedfe58 to 9674ac7 Compare August 17, 2026 04:19
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Aug 17, 2026
# Conflicts:
#	public/js/mod/index.js
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Aug 17, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Aug 23, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Aug 23, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Aug 23, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Aug 23, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 7, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 7, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 7, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 7, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
@psilabs-dev
psilabs-dev force-pushed the dev-category-actions/main branch from 9674ac7 to 4f9c54d Compare September 7, 2026 07:43
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 7, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 7, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 8, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 8, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 8, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 8, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 8, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 8, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
toggle pin/category and delete category
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 12, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 12, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
@psilabs-dev
psilabs-dev force-pushed the dev-category-actions/main branch from 4f9c54d to c4e06ac Compare September 12, 2026 06:54
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 12, 2026
psilabs-dev added a commit to psilabs-dev/LANraragi that referenced this pull request Sep 12, 2026
Difegue#1670's context menu predates #120's multi-category API, so the delete
handler still tested the deprecated singular selectedCategory. Under the
multi-select model that is always "", and deleting the active category
would no longer clear the filter.

Integration glue between Difegue#1670 and #120: it lives in neither branch, so a
staging rebuild cannot reproduce it by merging. Kept as an explicit commit
so future rebuilds can cherry-pick it.
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