Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/base/src/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
{
"command": "jupytergis:identify",
"keys": ["Accel I"],
"keys": ["I"],
"selector": ".data-jgis-keybinding"
},
{
Expand Down
3 changes: 2 additions & 1 deletion packages/base/src/mainview/mainView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1884,7 +1884,8 @@ export class MainView extends React.Component<IProps, IStates> {
/>
)}
<div
className="jGIS-Mainview"
className="jGIS-Mainview data-jgis-keybinding"
tabIndex={-2}
style={{
border: this.state.remoteUser
? `solid 3px ${this.state.remoteUser.color}`
Expand Down
6 changes: 3 additions & 3 deletions packages/base/src/panelview/components/layers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const LAYER_ITEM_CLASS = 'jp-gis-layerItem';
const LAYER_CLASS = 'jp-gis-layer';
const LAYER_TITLE_CLASS = 'jp-gis-layerTitle';
const LAYER_ICON_CLASS = 'jp-gis-layerIcon';
const LAYER_TEXT_CLASS = 'jp-gis-layerText';
const LAYER_TEXT_CLASS = 'jp-gis-layerText data-jgis-keybinding';

/**
* The layers panel widget.
Expand Down Expand Up @@ -300,7 +300,7 @@ function LayerGroupComponent(props: ILayerGroupProps): JSX.Element {
className={`${LAYER_GROUP_COLLAPSER_CLASS}${open ? ' jp-mod-expanded' : ''}`}
tag={'span'}
/>
<span id={id} className={LAYER_TEXT_CLASS}>
<span id={id} className={LAYER_TEXT_CLASS} tabIndex={-2}>
{name}
</span>
</div>
Expand Down Expand Up @@ -435,7 +435,7 @@ function LayerComponent(props: ILayerProps): JSX.Element {
/>
)}

<span id={id} className={LAYER_TEXT_CLASS}>
<span id={id} className={LAYER_TEXT_CLASS} tabIndex={-2}>
{name}
</span>
</div>
Expand Down
2 changes: 2 additions & 0 deletions packages/base/src/panelview/leftpanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ export class LeftPanelWidget extends SidePanel {
constructor(options: LeftPanelWidget.IOptions) {
super();
this.addClass('jGIS-sidepanel-widget');
this.addClass('data-jgis-keybinding');
this.node.tabIndex = 0;

this._model = options.model;
this._state = options.state;
Expand Down
2 changes: 2 additions & 0 deletions packages/base/src/panelview/rightpanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export class RightPanelWidget extends SidePanel {
constructor(options: RightPanelWidget.IOptions) {
super();
this.addClass('jGIS-sidepanel-widget');
this.addClass('data-jgis-keybinding');
this.node.tabIndex = 0;

this._model = options.model;
this._annotationModel = options.annotationModel;
Expand Down
2 changes: 0 additions & 2 deletions python/jupytergis_lab/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ const plugin: JupyterFrontEndPlugin<void> = {
completionProviderManager
);

app.shell.addClass('data-jgis-keybinding');

// SOURCES context menu
const newSourceSubMenu = new Menu({ commands: app.commands });
newSourceSubMenu.title.label = translator
Expand Down
Loading