110 Commits

Author SHA1 Message Date
f581935f85
New: Overwrite Panel._addToPanelBox
Overwrite `Panel._addToPanelBox` of Gnome Shell `js/ui/panel.js` with a
custom method, which handles top bar item additions to make sure that
they are added in the correct position.
2021-05-14 13:19:27 +02:00
0fc62ae465
Refactor: Move valid box order creation into own method
Move the valid box order creation into an own method.
This makes the `_orderTopBarItems` method cleaner and allows other
methods to easily create valid box orders as well in the future.
2021-05-14 13:19:20 +02:00
0f3e1608a9
New: Order top bar items on enable
Order top bar items on extension enable according to the saved box
orders.
2021-05-14 13:18:35 +02:00
f8488a97f4
New: Add new top bar items to box orders on enable
Introduce box orders, which allow this extension to save the order top
bar items should be in.
On extension enable, save new top bar items to those box orders.
2021-05-14 13:18:35 +02:00
2851fe3aaa
Docs: Describe Panel._addToPanelBox logic
Describe what `Panel._addToPanelBox` does with the role and indicator it
gets.
2021-05-14 13:18:35 +02:00
821d849668
New: Add initial bare-bones extension source code
I'm using version 1 for the first development phase (like what major
version zero (0.y.z) is in Semantic Versioning 2.0.0), so that the first
production version then gets version 2.
2021-05-14 13:18:35 +02:00
1c7cafaff9
Docs: Add initial About_the_Top_(Menu)Bar.md
Add background documentation/information regarding the top (menu)bar.
2021-05-14 13:18:35 +02:00
db0237792d
Docs: Add annotated and cut down panel.js
Add an annotated and cut down `js/ui/panel.js` from gnome-shell/master
as background documentation/information for this extension.
2021-05-14 13:18:35 +02:00
49388737a4
Other: Specify a textwidth of 80 for JavaScript
Specify a textwidth of 80 for code of this repo in `.js` files.
Also add VSCode workspace settings to specify a textwith of 80.
2021-05-14 13:18:30 +02:00
1f1a958555
Docs: Specify commit message format
Add initial `CONTRIBUTING.md` specifying the commit message format to
use.
2021-05-14 13:17:52 +02:00