docbrown/app/views
Dwight Scott 1cb45995cb
conditionally render create post button for admins #16490 (#16606)
* Trigger Build

* WIP - use turbo to render html for create post button

todos and discussion topics
[] add tests (probably gonna be a lot of cypress 😅😭)
[] nominclature & file structure for authorization controller/routes
[] is this "authorizations" namespace approach the best?
[] authorization strategy relies on current user and caching doesn't
like `current_user`

* Use URL helper and not change the policy just yet

* put the turbo frame behind a feature flag

* Trigger Build

* Use URL helper and not change the policy just yet

* :)

* Add some test coverage and use same feature flag for consistency

* rubocop

* more rubocop

* trigger build

* adding a small sleep to see if specs pass 😩

* remove sleep

* disable Turbo session drive

* WIP

* Revert "WIP"

This reverts commit ce838672069fd703122156a0d82e5e6ad5398e0a.

* Moving spec from dashboard to root

With forem/forem#16913 the underlying test broke because we were
redirecting on the dashboard.

Co-authored-by: Jeremy Friesen <jeremy.n.friesen@gmail.com>
2022-03-29 13:04:57 -04:00
..
admin Admin member index: show/hide search and filter controls (#17009) 2022-03-29 15:37:37 +01:00
api/v0 Add ability to bulk search tags by name or id (#16671) 2022-02-24 12:34:50 -05:00
articles Use the canonical URLs to link from sorted pages (#16928) 2022-03-22 14:51:36 +00:00
authorization/articles conditionally render create post button for admins #16490 (#16606) 2022-03-29 13:04:57 -04:00
badges
collections
comments Avoid layout funkiness when non-breaking characters are used (#16782) 2022-03-08 10:37:52 +00:00
credits Add a contact email address to the /admin/customization/config (#16497) 2022-02-15 17:37:08 +02:00
dashboards Conditionally reducing dashboard chatter for users (#16999) 2022-03-25 13:59:53 -04:00
deep_links Add a contact email address to the /admin/customization/config (#16497) 2022-02-15 17:37:08 +02:00
devise Remove Creator Onboarding Feature Flags from Codebase (#15982) 2022-01-31 11:30:43 -07:00
email_subscriptions
feedback_messages
fields
followings
github_repos
homepage
kaminari Admin member index: Update pagination layout & styles (#16995) 2022-03-25 07:50:50 +00:00
layouts conditionally render create post button for admins #16490 (#16606) 2022-03-29 13:04:57 -04:00
liquid_embeds Move work from template to controller (#16092) 2022-01-18 11:21:25 -05:00
liquids Allow embedding of Instagram profile URLs (#16904) 2022-03-18 09:03:14 -04:00
listings
mailers Add a contact email address to the /admin/customization/config (#16497) 2022-02-15 17:37:08 +02:00
moderations Filter admin users by status (#16238) 2022-03-02 11:13:59 -05:00
notifications Revert ERB comment tag work-around from #17012 (#17035) 2022-03-28 15:16:24 -05:00
onboardings Ensuring that body.dataset is JSON parsable (#16441) 2022-02-08 07:30:43 -05:00
open_search Add a contact email address to the /admin/customization/config (#16497) 2022-02-15 17:37:08 +02:00
organizations Revert ERB comment tag work-around from #17012 (#17035) 2022-03-28 15:16:24 -05:00
pages Implement Loom Embed (not merging now) (#16633) 2022-02-22 09:05:55 -05:00
podcast_episodes Always show the browse section of podcasts regardless of featured (#16329) 2022-03-22 12:56:54 -04:00
podcasts
profile_field_groups
profile_preview_cards
reading_list_items
response_templates
service_worker
shared Add toggle button to 'New Forem Secret' form (#17016) 2022-03-29 08:29:29 -06:00
sidebars fix grid col overflow in right sidebar in safari (#16771) 2022-03-03 07:51:16 -06:00
sitemaps
social_previews Render social previews for tags with one of the two custom colors set (#16557) 2022-02-15 09:56:57 -06:00
stories Use the canonical URLs to link from sorted pages (#16928) 2022-03-22 14:51:36 +00:00
tags Use the Preact ColorPicker in creator onboarding (#16731) 2022-03-03 08:22:10 +00:00
users Adjusting article copy to be more general (#16973) 2022-03-23 11:34:33 -04:00
videos Refactoring questions asked of user (#15762) 2021-12-21 12:45:12 -05:00