docbrown/app
Jeremy Friesen 0484c550c5
Create/update by NavigationLink identity (#16312)
Prior to this commit, we were treating all NavigationLink attributes as
unique.  So, were we to change a position of one of the NavigationLinks
during the add_navigation_links rake task, we would have created a new
NavigationLink (and the only one would have remained).

With this commit, we're introducing the concept of the NavigationLink's
surrogate identity, that is to say if we have two NavigationLink objects
with the same `url` and `name` we should consider them the same
NavigationLink.  This allows us to update properties of those
NavigationLinks (via the rake task) without the risk of creating new
entries.

This unblocks PR #16268 which addresses #16076.
2022-01-27 13:51:41 -05:00
..
assets Modals fixes (#16310) 2022-01-27 16:24:23 +01:00
components/admin/users Small change to make the tools section of member details mobile friendly. (#15159) 2021-10-22 18:47:20 +02:00
controllers Favor tag sort by count over hotness (#16322) 2022-01-27 07:19:05 -05:00
decorators Refactoring cached_followed_tags (#16175) 2022-01-24 19:53:48 -05:00
errors small non-views ruby i18n (#16004) 2022-01-11 10:05:18 +07:00
forms Using a Form Object that will persist for the Creator Settings Form (#15684) 2021-12-10 17:07:40 +02:00
helpers Remove the "Getting Started" Section from the Config (#16033) 2022-01-20 07:31:35 -07:00
javascript Modals fixes (#16310) 2022-01-27 16:24:23 +01:00
lib Move BlackBox to app/lib (#16183) 2022-01-20 09:37:53 +07:00
liquid_tags Implement Unified Embeds for Stackblitz URLs (#16313) 2022-01-26 17:10:38 -05:00
mailers app/mailers i18n (#16191) 2022-01-20 07:33:29 -07:00
models Create/update by NavigationLink identity (#16312) 2022-01-27 13:51:41 -05:00
policies Allow for skipping navigation link creation (#16112) 2022-01-17 17:22:24 -05:00
queries small non-views ruby i18n (#16004) 2022-01-11 10:05:18 +07:00
refinements Drop profile columns from user (#10707) 2020-12-03 08:14:38 +07:00
sanitizers Extracting container for allowed tags & attrs (#15338) 2021-12-16 12:24:45 -05:00
serializers Added "Tags" category to search results (#16265) 2022-01-26 20:51:15 +03:00
services Ensuring we fetch latest podcasts by pubDate (#16319) 2022-01-27 07:15:28 -05:00
uploaders small non-views ruby i18n (#16004) 2022-01-11 10:05:18 +07:00
validators Remove the "Getting Started" Section from the Config (#16033) 2022-01-20 07:31:35 -07:00
view_objects Patching ERB rendering of the data-info JSON (#16067) 2022-01-14 08:30:49 -05:00
views Remove hardcoded /badge page that is DEV-only ✂️✂️✂️ (#16303) 2022-01-27 13:29:05 -05:00
workers Ensure arguments to perform_async are json safe (#16285) 2022-01-25 18:07:40 -06:00