This website requires JavaScript.
Explore
Help
Sign In
IntenseWebs
/
discourse
Watch
3
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2024-11-29 04:03:57 -06:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5f0bc4557f
discourse
/
spec
/
fabricators
/
sidebar_url_fabricator.rb
8 lines
107 B
Ruby
Raw
Normal View
History
Unescape
Escape
DEV: configurable custom sidebar sections (#20057) Allows users to configure their own custom sidebar sections with links withing Discourse instance. Links can be passed as relative path, for example "/tags" or full URL. Only path is saved in DB, so when Discourse domain is changed, links will be still valid. Feature is hidden behind SiteSetting.enable_custom_sidebar_sections. This hidden setting determines the group which members have access to this new feature.
2023-02-02 21:44:40 -06:00
# frozen_string_literal: true
Fabricator
(
:sidebar_url
)
do
FIX: improvements for user custom sections (#20190) Improvements for this PR: https://github.com/discourse/discourse/pull/20057 What was fixed: - [x] Use ember transitions instead of full reload - [x] Link was inaccurately kept active - [x] "+ save" renamed to just "save" - [x] Render emojis in link name - [x] UI to set icon - [x] Delete link is trash icon instead of "x" - [x] Add another link to on the left and rewording - [x] Raname "link name" -> "name", "points to" -> link - [x] Add limits to fields - [x] Move add section button to the bottom
2023-02-07 18:45:34 -06:00
icon
"
link
"
DEV: configurable custom sidebar sections (#20057) Allows users to configure their own custom sidebar sections with links withing Discourse instance. Links can be passed as relative path, for example "/tags" or full URL. Only path is saved in DB, so when Discourse domain is changed, links will be still valid. Feature is hidden behind SiteSetting.enable_custom_sidebar_sections. This hidden setting determines the group which members have access to this new feature.
2023-02-02 21:44:40 -06:00
name
"
tags
"
value
"
/tags
"
end
Reference in New Issue
Copy Permalink