Skip to content

Custom Page Prefix Usability Fixes #2736

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

Merged
merged 3 commits into from
Jul 15, 2025
Merged

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Jul 15, 2025

Examples

The following examples demonstrates the new behavior, auto-populating the URL Prefix field:

custom-prefix.mp4

Makes it easy to then adjust the prefix to a subpath instead:

custom-prefix-2.mp4

- automatically compute prefix from starting URL, if no other prefix is set in custom prefix mode
- add '^' to each custom prefix URL, as it is a regex
- rename 'Extra URL Prefixes' to just 'URL Prefixes' and adjust help text to indicate that the prefix list is the list that is in scope
- fixes #2735, follow up to #2722
@ikreymer ikreymer requested review from emma-sg, SuaYoo and tw4l July 15, 2025 02:33
@ikreymer ikreymer changed the title custom scope ui usability fixes Custom Page Prefix Usability Fixes Jul 15, 2025
Copy link
Member

@tw4l tw4l left a comment

Choose a reason for hiding this comment

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

Makes sense and testing well. I added a commit to update the user guide documentation appropriately.

I think these changes are also safe in terms of not breaking existing workflows, since existing custom page prefix workflows created before these changes (e.g. those set on a schedule to run periodically) will still have the "prefix" scopeType set for the first seed, and only new Custom Page Prefix workflows will be affected.

Co-authored-by: sua yoo <sua@webrecorder.org>
@ikreymer ikreymer merged commit 5d2b34f into main Jul 15, 2025
27 checks passed
@ikreymer ikreymer deleted the issue-2735-fix-custom-scope-ui branch July 15, 2025 20:19
ikreymer added a commit that referenced this pull request Jul 18, 2025
- ensure auto-added '^' is stripped from custom prefix URLs loaded from db
ikreymer added a commit that referenced this pull request Jul 19, 2025
- follow-up to: #2736: remove '^' custom prefix URLs to avoid accumulating '^' via utility function
- Show URL prefix list in settings for custom prefix scope.
- Update user guide with correct custom prefix field.

---------

Co-authored-by: sua yoo <sua@webrecorder.org>
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.

[Bug]: Custom scope usability update to work as advertised
4 participants