Skip to content

Commit

Permalink
Fix inconsistent capitalization accross UI elements (spacetelescope#2756
Browse files Browse the repository at this point in the history
)
  • Loading branch information
haticekaratay authored Mar 14, 2024
1 parent 14f69fe commit deda388
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/cubeviz/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Plot Options
============

This plugin gives access to per-viewer and per-layer plotting options.
To show axes on image viewers, toggle on the "Show Axes" option at the bottom of the plugin.
To show axes on image viewers, toggle on the "Show axes" option at the bottom of the plugin.

.. seealso::

Expand Down
2 changes: 1 addition & 1 deletion docs/dev/ui_style_guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ try to adhere to the following principles:
* Any tray plugin should utilize ``<j-tray-plugin :disabled_msg='disabled_msg' :popout_button="popout_button">`` as the
outer-container (which provides consistent styling rules). If the plugin makes use of active status
(live-preview marks or viewer callbacks), then also pass `` :uses_active_status="uses_active_status" @plugin-ping="plugin_ping($event)"``.
To enable the "keep active" check, pass `` :uses_active_status="uses_active_status" @plugin-ping="plugin_ping($event)" :keep_active.sync="keep_active" ``.
To enable the "Keep active" check, pass `` :uses_active_status="uses_active_status" @plugin-ping="plugin_ping($event)" :keep_active.sync="keep_active" ``.
Any changes to style across all plugins should then take place in the
``j-tray-plugin`` stylesheet (``jdaviz/components/tray_plugin.vue``).
* Each item should be wrapped in a ``v-row``, but avoid any unnecessary additional wrapping-components
Expand Down
4 changes: 2 additions & 2 deletions jdaviz/components/tray_plugin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<v-switch
v-model="keep_active"
@change="$emit('update:keep_active', $event)"
label="keep active"
hint="consider plugin active (showing any previews and enabling all keypress events) even when not opened"
label="Keep active"
hint="Consider plugin active (showing any previews and enabling all keypress events) even when not opened"
persistent-hint>
</v-switch>
</v-row>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
<glue-state-sync-wrapper v-if="axes_visible_sync.in_subscribed_states && viewer_selected.length > 0 && config !== 'imviz'" :sync="axes_visible_sync" :multiselect="viewer_multiselect" @unmix-state="unmix_state('axes_visible')">
<v-switch
v-model="axes_visible_value"
label="Show Axes"
label="Show axes"
/>
</glue-state-sync-wrapper>

Expand Down

0 comments on commit deda388

Please sign in to comment.