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

fix(permalinks): default permalink for create #1843

Merged

Conversation

kishore03109
Copy link
Contributor

@kishore03109 kishore03109 commented Mar 14, 2024

Problem

We have quite a number of duplicate permalinks
this does not fix the problem completely, but it does allow for some sort of preventive measure to prevents accidental dups.

we are not sure if of the number of agencies that use dup permalinks for the sake of playground, and it would be hard to enforce this until we have the functionality for playground out. more context here

Solution

sane default when creating a page.

Breaking Changes

  • Yes - this PR contains breaking changes
    • Details ...
  • No - this PR is backwards compatible with ALL of the following feature flags in this doc

Tests

follow video

Screen.Recording.2024-03-14.at.3.15.06.PM.mov
  • create a page, note that you should be unable to modify the permalink
  • edit page modal's functionality remains the same, we dont still allow them to change to whatever.

Copy link
Contributor Author

kishore03109 commented Mar 14, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @kishore03109 and the rest of your teammates on Graphite Graphite

@kishore03109 kishore03109 force-pushed the 03-14-fix_permalinks_default_permalink_for_create branch 2 times, most recently from d036802 to c96bc10 Compare March 14, 2024 07:14
@kishore03109 kishore03109 marked this pull request as ready for review March 14, 2024 07:19
@kishore03109 kishore03109 requested a review from a team March 14, 2024 07:19
Copy link
Contributor

@seaerchin seaerchin left a comment

Choose a reason for hiding this comment

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

blocking on regex

@kishore03109 kishore03109 force-pushed the 03-14-fix_permalinks_default_permalink_for_create branch from c96bc10 to 3f3f0ae Compare March 18, 2024 23:52
@kishore03109 kishore03109 requested a review from seaerchin March 19, 2024 04:05
Copy link
Contributor

@seaerchin seaerchin left a comment

Choose a reason for hiding this comment

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

for resource pages, do they also use this pageSettingsModal? otherwise, we might also need to duplicate the changes here over.

@kishore03109 kishore03109 merged commit 157c906 into develop Mar 19, 2024
8 checks passed
@kishore03109 kishore03109 deleted the 03-14-fix_permalinks_default_permalink_for_create branch March 21, 2024 05:49
kishore03109 added a commit that referenced this pull request Mar 21, 2024
## Problem

same as #1843 but for resource pages 


## Tests
follow video


https://github.com/isomerpages/isomercms-frontend/assets/42832651/f545f927-90ba-4daf-a555-62f5b1a834f7

- [ ] create a resource page, note that you should be unable to modify the permalink 
- [ ] edit resource page modal's functionality remains the same, we dont still allow them to change to whatever.
@seaerchin seaerchin mentioned this pull request Mar 21, 2024
7 tasks
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.

2 participants