@starlove/orbit 1.3.5 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dockerfile +2 -1
- package/README.md +10 -9
- package/SKILL-ORBIT.md +41 -17
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-Bold.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-BoldItalic.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-Italic.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-Light.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-LightItalic.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-Medium.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-MediumItalic.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-Regular.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-SemiBold.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/ChakraPetch-SemiBoldItalic.ttf +0 -0
- package/dist/full/fonts/Chakra_Petch/OFL.txt +93 -0
- package/dist/full/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
- package/dist/full/fonts/Inter/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/dist/full/fonts/Inter/OFL.txt +93 -0
- package/dist/full/fonts/Inter/README.txt +118 -0
- package/dist/full/fonts/JetBrains_Mono/JetBrainsMono-Italic-VariableFont_wght.ttf +0 -0
- package/dist/full/fonts/JetBrains_Mono/JetBrainsMono-VariableFont_wght.ttf +0 -0
- package/dist/full/fonts/JetBrains_Mono/OFL.txt +93 -0
- package/dist/full/fonts/JetBrains_Mono/README.txt +79 -0
- package/dist/full/fonts/OpenRing-Regular.ttf +0 -0
- package/dist/full/fonts/Open_Sans/OFL.txt +93 -0
- package/dist/full/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf +0 -0
- package/dist/full/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf +0 -0
- package/dist/full/fonts/Open_Sans/README.txt +100 -0
- package/dist/full/fonts/Orbitron/OFL.txt +93 -0
- package/dist/full/fonts/Orbitron/Orbitron-VariableFont_wght.ttf +0 -0
- package/dist/full/fonts/Orbitron/README.txt +68 -0
- package/dist/full/fonts/Rajdhani/OFL.txt +93 -0
- package/dist/full/fonts/Rajdhani/Rajdhani-Bold.ttf +0 -0
- package/dist/full/fonts/Rajdhani/Rajdhani-Light.ttf +0 -0
- package/dist/full/fonts/Rajdhani/Rajdhani-Medium.ttf +0 -0
- package/dist/full/fonts/Rajdhani/Rajdhani-Regular.ttf +0 -0
- package/dist/full/fonts/Rajdhani/Rajdhani-SemiBold.ttf +0 -0
- package/dist/full/fonts/runescape-uf.ttf +0 -0
- package/dist/full/index.html +135 -25
- package/dist/full/js/app.4e6fbe20.js +952 -0
- package/dist/full/js/app.4e6fbe20.js.map +7 -0
- package/dist/full/styles.4e60d824.css +1 -0
- package/dist/full/version.json +2 -2
- package/docs/AGENT_PROTOCOL.md +20 -13
- package/docs/ORBIT_DISPATCH.md +73 -38
- package/docs/UPDATING.md +114 -0
- package/package.json +5 -7
- package/public/fonts/Chakra_Petch/ChakraPetch-Bold.ttf +0 -0
- package/public/fonts/Chakra_Petch/ChakraPetch-BoldItalic.ttf +0 -0
- package/public/fonts/Chakra_Petch/ChakraPetch-Italic.ttf +0 -0
- package/public/fonts/Chakra_Petch/ChakraPetch-Light.ttf +0 -0
- package/public/fonts/Chakra_Petch/ChakraPetch-LightItalic.ttf +0 -0
- package/public/fonts/Chakra_Petch/ChakraPetch-Medium.ttf +0 -0
- package/public/fonts/Chakra_Petch/ChakraPetch-MediumItalic.ttf +0 -0
- package/public/fonts/Chakra_Petch/ChakraPetch-Regular.ttf +0 -0
- package/public/fonts/Chakra_Petch/ChakraPetch-SemiBold.ttf +0 -0
- package/public/fonts/Chakra_Petch/ChakraPetch-SemiBoldItalic.ttf +0 -0
- package/public/fonts/Chakra_Petch/OFL.txt +93 -0
- package/public/fonts/Inter/Inter-Italic-VariableFont_opsz,wght.ttf +0 -0
- package/public/fonts/Inter/Inter-VariableFont_opsz,wght.ttf +0 -0
- package/public/fonts/Inter/OFL.txt +93 -0
- package/public/fonts/Inter/README.txt +118 -0
- package/public/fonts/JetBrains_Mono/JetBrainsMono-Italic-VariableFont_wght.ttf +0 -0
- package/public/fonts/JetBrains_Mono/JetBrainsMono-VariableFont_wght.ttf +0 -0
- package/public/fonts/JetBrains_Mono/OFL.txt +93 -0
- package/public/fonts/JetBrains_Mono/README.txt +79 -0
- package/public/fonts/OpenRing-Regular.ttf +0 -0
- package/public/fonts/Open_Sans/OFL.txt +93 -0
- package/public/fonts/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf +0 -0
- package/public/fonts/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf +0 -0
- package/public/fonts/Open_Sans/README.txt +100 -0
- package/public/fonts/Orbitron/OFL.txt +93 -0
- package/public/fonts/Orbitron/Orbitron-VariableFont_wght.ttf +0 -0
- package/public/fonts/Orbitron/README.txt +68 -0
- package/public/fonts/Rajdhani/OFL.txt +93 -0
- package/public/fonts/Rajdhani/Rajdhani-Bold.ttf +0 -0
- package/public/fonts/Rajdhani/Rajdhani-Light.ttf +0 -0
- package/public/fonts/Rajdhani/Rajdhani-Medium.ttf +0 -0
- package/public/fonts/Rajdhani/Rajdhani-Regular.ttf +0 -0
- package/public/fonts/Rajdhani/Rajdhani-SemiBold.ttf +0 -0
- package/public/fonts/runescape-uf.ttf +0 -0
- package/public/index.html +133 -23
- package/public/js/artifact-drawer.js +79 -0
- package/public/js/board-export.js +161 -0
- package/public/js/board-menu.js +219 -17
- package/public/js/card-actions.js +1 -1
- package/public/js/create-card.js +60 -23
- package/public/js/drawer.js +164 -4
- package/public/js/font-preference.js +230 -0
- package/public/js/format.js +0 -10
- package/public/js/icons.js +16 -0
- package/public/js/local-backend.js +31 -4
- package/public/js/main.js +7 -1
- package/public/js/modal.js +3 -1
- package/public/js/panel.js +58 -0
- package/public/js/settings-tabs.js +1 -1
- package/public/js/settings.js +606 -275
- package/public/js/sse.js +3 -0
- package/public/js/state.js +1 -1
- package/public/js/text-editing.js +128 -0
- package/public/js/ticket-detail.js +377 -148
- package/public/js/ticket-typeahead.js +49 -0
- package/public/js/toast.js +19 -4
- package/public/js/topbar-notes.js +3 -3
- package/public/js/typeahead.js +206 -0
- package/public/js/update-check.js +58 -0
- package/public/styles.css +5447 -3572
- package/src/cli/orbit.js +9 -5
- package/src/core/agent.js +12 -4
- package/src/core/agents-md.js +3 -3
- package/src/core/artifacts.js +149 -0
- package/src/core/board.js +3 -2
- package/src/core/boards.js +0 -1
- package/src/core/css-bundle.js +1 -0
- package/src/core/db.js +6 -0
- package/src/core/dispatch.js +344 -34
- package/src/core/http.js +9 -2
- package/src/core/paths.js +26 -2
- package/src/core/router.js +33 -0
- package/src/core/search.js +3 -2
- package/src/core/snapshots.js +10 -5
- package/src/core/tickets.js +34 -3
- package/src/core/util.js +3 -2
- package/src/core/version-check.js +154 -0
- package/src/mcp/orbit-client.js +18 -2
- package/src/mcp-server.js +19 -14
- package/src/server.js +28 -3
- package/dist/full/js/app.4ae80764.js +0 -742
- package/dist/full/js/app.4ae80764.js.map +0 -7
- package/dist/full/styles.b9e0c130.css +0 -1
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2018 The Orbitron Project Authors (https://github.com/theleagueof/orbitron), with Reserved Font Name: "Orbitron"
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Orbitron Variable Font
|
|
2
|
+
======================
|
|
3
|
+
|
|
4
|
+
This download contains Orbitron as both a variable font and static fonts.
|
|
5
|
+
|
|
6
|
+
Orbitron is a variable font with this axis:
|
|
7
|
+
wght
|
|
8
|
+
|
|
9
|
+
This means all the styles are contained in a single file:
|
|
10
|
+
Orbitron/Orbitron-VariableFont_wght.ttf
|
|
11
|
+
|
|
12
|
+
If your app fully supports variable fonts, you can now pick intermediate styles
|
|
13
|
+
that aren’t available as static fonts. Not all apps support variable fonts, and
|
|
14
|
+
in those cases you can use the static font files for Orbitron:
|
|
15
|
+
Orbitron/static/Orbitron-Regular.ttf
|
|
16
|
+
Orbitron/static/Orbitron-Medium.ttf
|
|
17
|
+
Orbitron/static/Orbitron-SemiBold.ttf
|
|
18
|
+
Orbitron/static/Orbitron-Bold.ttf
|
|
19
|
+
Orbitron/static/Orbitron-ExtraBold.ttf
|
|
20
|
+
Orbitron/static/Orbitron-Black.ttf
|
|
21
|
+
|
|
22
|
+
Get started
|
|
23
|
+
-----------
|
|
24
|
+
|
|
25
|
+
1. Install the font files you want to use
|
|
26
|
+
|
|
27
|
+
2. Use your app's font picker to view the font family and all the
|
|
28
|
+
available styles
|
|
29
|
+
|
|
30
|
+
Learn more about variable fonts
|
|
31
|
+
-------------------------------
|
|
32
|
+
|
|
33
|
+
https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
|
|
34
|
+
https://variablefonts.typenetwork.com
|
|
35
|
+
https://medium.com/variable-fonts
|
|
36
|
+
|
|
37
|
+
In desktop apps
|
|
38
|
+
|
|
39
|
+
https://theblog.adobe.com/can-variable-fonts-illustrator-cc
|
|
40
|
+
https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
|
|
41
|
+
|
|
42
|
+
Online
|
|
43
|
+
|
|
44
|
+
https://developers.google.com/fonts/docs/getting_started
|
|
45
|
+
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
|
|
46
|
+
https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
|
|
47
|
+
|
|
48
|
+
Installing fonts
|
|
49
|
+
|
|
50
|
+
MacOS: https://support.apple.com/en-us/HT201749
|
|
51
|
+
Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
|
|
52
|
+
Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
|
|
53
|
+
|
|
54
|
+
Android Apps
|
|
55
|
+
|
|
56
|
+
https://developers.google.com/fonts/docs/android
|
|
57
|
+
https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
|
|
58
|
+
|
|
59
|
+
License
|
|
60
|
+
-------
|
|
61
|
+
Please read the full license text (OFL.txt) to understand the permissions,
|
|
62
|
+
restrictions and requirements for usage, redistribution, and modification.
|
|
63
|
+
|
|
64
|
+
You can use them in your products & projects – print or digital,
|
|
65
|
+
commercial or otherwise.
|
|
66
|
+
|
|
67
|
+
This isn't legal advice, please consider consulting a lawyer and see the full
|
|
68
|
+
license for all details.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright (c) 2014, Indian Type Foundry (info@indiantypefoundry.com).
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
https://openfontlicense.org
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/public/index.html
CHANGED
|
@@ -15,11 +15,14 @@
|
|
|
15
15
|
sizes="180x180"
|
|
16
16
|
href="./apple-touch-icon.png"
|
|
17
17
|
/>
|
|
18
|
-
<!-- Apply the stored theme + motion
|
|
19
|
-
the app underneath the splash paints in the right theme
|
|
20
|
-
and the
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
<!-- Apply the stored theme + motion + font/size preferences before first
|
|
19
|
+
paint, so the app underneath the splash paints in the right theme
|
|
20
|
+
(no flash) and at the right type size (no layout jump), and the
|
|
21
|
+
splash respects an explicit reduce-motion choice. Mirrors
|
|
22
|
+
theme-preference.js (mab_theme), motion-preference.js
|
|
23
|
+
(mab_reduce_motion → data-motion), and font-preference.js
|
|
24
|
+
(orbit_font_preferences → --orbit-font-* / --type-*); main.js
|
|
25
|
+
reconciles on load. -->
|
|
23
26
|
<script>
|
|
24
27
|
try {
|
|
25
28
|
var t = localStorage.getItem("mab_theme");
|
|
@@ -30,6 +33,57 @@
|
|
|
30
33
|
document.documentElement.setAttribute("data-motion", "reduce");
|
|
31
34
|
else if (rm === "false")
|
|
32
35
|
document.documentElement.setAttribute("data-motion", "full");
|
|
36
|
+
var fp = JSON.parse(localStorage.getItem("orbit_font_preferences") || "{}");
|
|
37
|
+
var stacks = {
|
|
38
|
+
inter: '"Orbit Inter", "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif',
|
|
39
|
+
openSans: '"Orbit Open Sans", "Open Sans", "Segoe UI Variable", "Segoe UI", Arial, sans-serif',
|
|
40
|
+
jetBrainsMono: '"Orbit JetBrains Mono", "JetBrains Mono", "Cascadia Mono", "SFMono-Regular", Consolas, monospace',
|
|
41
|
+
chakraPetch: '"Orbit Chakra Petch", "Chakra Petch", "Segoe UI Variable", "Segoe UI", Arial, sans-serif',
|
|
42
|
+
orbitron: '"Orbit Orbitron", "Orbitron", "Segoe UI Variable", "Segoe UI", Arial, sans-serif',
|
|
43
|
+
rajdhani: '"Orbit Rajdhani", "Rajdhani", "Segoe UI Variable", "Segoe UI", Arial, sans-serif',
|
|
44
|
+
runescapeUF: '"Orbit Runescape UF", "Cascadia Mono", monospace',
|
|
45
|
+
openRing: '"Orbit Open Ring", "Segoe UI Variable", "Segoe UI", Arial, sans-serif'
|
|
46
|
+
};
|
|
47
|
+
var defaults = {
|
|
48
|
+
control: "inter",
|
|
49
|
+
heading: "orbitron",
|
|
50
|
+
label: "inter",
|
|
51
|
+
badge: "orbitron"
|
|
52
|
+
};
|
|
53
|
+
var aliases = { ui: "control" };
|
|
54
|
+
var targets = {
|
|
55
|
+
control: "--orbit-font-control",
|
|
56
|
+
heading: "--orbit-font-heading",
|
|
57
|
+
label: "--orbit-font-label",
|
|
58
|
+
badge: "--orbit-font-badge"
|
|
59
|
+
};
|
|
60
|
+
var dataAttrs = {
|
|
61
|
+
control: "data-font-control",
|
|
62
|
+
heading: "data-font-heading",
|
|
63
|
+
label: "data-font-label",
|
|
64
|
+
badge: "data-font-badge"
|
|
65
|
+
};
|
|
66
|
+
if (!fp.badge && fp.label && fp.label !== "inter" && stacks[fp.label]) {
|
|
67
|
+
fp.badge = fp.label;
|
|
68
|
+
}
|
|
69
|
+
Object.keys(targets).forEach(function (target) {
|
|
70
|
+
var id = stacks[fp[target]] ? fp[target] : defaults[target];
|
|
71
|
+
Object.keys(aliases).forEach(function (legacy) {
|
|
72
|
+
if (aliases[legacy] === target && !stacks[fp[target]] && stacks[fp[legacy]]) {
|
|
73
|
+
id = fp[legacy];
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
document.documentElement.style.setProperty(targets[target], stacks[id]);
|
|
77
|
+
document.documentElement.setAttribute(dataAttrs[target], id);
|
|
78
|
+
});
|
|
79
|
+
var siteFont = stacks[fp.site] ? fp.site : "inter";
|
|
80
|
+
// Body text always follows the primary font.
|
|
81
|
+
document.documentElement.style.setProperty("--orbit-font-body", stacks[siteFont]);
|
|
82
|
+
var userScale = Number(fp.userScale);
|
|
83
|
+
if (!isFinite(userScale)) userScale = 1;
|
|
84
|
+
userScale = Math.min(1.3, Math.max(0.85, userScale));
|
|
85
|
+
document.documentElement.style.setProperty("--type-user-scale", String(userScale));
|
|
86
|
+
document.documentElement.setAttribute("data-font-site", siteFont);
|
|
33
87
|
} catch (e) {}
|
|
34
88
|
</script>
|
|
35
89
|
<link rel="preload" as="image" href="./orbits-logo.png" />
|
|
@@ -162,11 +216,13 @@
|
|
|
162
216
|
id="brandFocusPopover"
|
|
163
217
|
class="brand-focus-popover"
|
|
164
218
|
role="dialog"
|
|
165
|
-
aria-label="
|
|
219
|
+
aria-label="Notes For You"
|
|
166
220
|
hidden
|
|
167
221
|
>
|
|
168
|
-
<div class="brand-focus-
|
|
169
|
-
|
|
222
|
+
<div class="inline-md-field brand-focus-notes-field">
|
|
223
|
+
<span class="inline-md-field-label font-orbitron">Notes For You</span>
|
|
224
|
+
<div id="brandFocusNotes" class="brand-focus-notes-body"></div>
|
|
225
|
+
</div>
|
|
170
226
|
</div>
|
|
171
227
|
</div>
|
|
172
228
|
<div class="controls">
|
|
@@ -193,11 +249,12 @@
|
|
|
193
249
|
<button
|
|
194
250
|
id="newTicketBtn"
|
|
195
251
|
type="button"
|
|
196
|
-
class="topbar-btn
|
|
252
|
+
class="topbar-btn topbar-ctl-shrink"
|
|
197
253
|
data-variant="cta"
|
|
254
|
+
aria-label="New Card"
|
|
198
255
|
>
|
|
199
|
-
<span class="btn-plus" aria-hidden="true"
|
|
200
|
-
<span class="btn-
|
|
256
|
+
<span class="btn-plus" aria-hidden="true"></span>
|
|
257
|
+
<span class="topbar-btn-label">New Card</span>
|
|
201
258
|
</button>
|
|
202
259
|
<div class="topbar-menu">
|
|
203
260
|
<button
|
|
@@ -219,18 +276,18 @@
|
|
|
219
276
|
>
|
|
220
277
|
<rect
|
|
221
278
|
x="4"
|
|
222
|
-
y="
|
|
279
|
+
y="2"
|
|
223
280
|
width="6"
|
|
224
|
-
height="
|
|
281
|
+
height="20"
|
|
225
282
|
rx="0.75"
|
|
226
283
|
stroke="currentColor"
|
|
227
284
|
stroke-width="2"
|
|
228
285
|
/>
|
|
229
286
|
<rect
|
|
230
287
|
x="14"
|
|
231
|
-
y="
|
|
288
|
+
y="2"
|
|
232
289
|
width="6"
|
|
233
|
-
height="
|
|
290
|
+
height="20"
|
|
234
291
|
rx="0.75"
|
|
235
292
|
stroke="currentColor"
|
|
236
293
|
stroke-width="2"
|
|
@@ -320,6 +377,7 @@
|
|
|
320
377
|
<circle cx="12" cy="12" r="3" />
|
|
321
378
|
</svg>
|
|
322
379
|
<span class="topbar-btn-label">Settings</span>
|
|
380
|
+
<span class="topbar-update-dot" title="Update available" hidden></span>
|
|
323
381
|
</button>
|
|
324
382
|
</div>
|
|
325
383
|
</header>
|
|
@@ -359,12 +417,13 @@
|
|
|
359
417
|
id="drawerTitleBlock"
|
|
360
418
|
class="drawer-title-block"
|
|
361
419
|
></div>
|
|
362
|
-
<
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
420
|
+
<div id="drawerTabsShell" class="drawer-tabs-shell" hidden>
|
|
421
|
+
<nav
|
|
422
|
+
id="drawerTabs"
|
|
423
|
+
class="drawer-tabs"
|
|
424
|
+
role="tablist"
|
|
425
|
+
></nav>
|
|
426
|
+
</div>
|
|
368
427
|
<button
|
|
369
428
|
type="button"
|
|
370
429
|
id="drawerArchiveBtn"
|
|
@@ -399,12 +458,55 @@
|
|
|
399
458
|
class="drawer-close"
|
|
400
459
|
aria-label="Close panel"
|
|
401
460
|
>
|
|
402
|
-
|
|
461
|
+
<svg
|
|
462
|
+
class="ui-icon ui-icon-x"
|
|
463
|
+
viewBox="0 0 24 24"
|
|
464
|
+
aria-hidden="true"
|
|
465
|
+
focusable="false"
|
|
466
|
+
>
|
|
467
|
+
<path d="M6 6l12 12M18 6 6 18" />
|
|
468
|
+
</svg>
|
|
403
469
|
</button>
|
|
404
470
|
</header>
|
|
405
471
|
<div id="drawerInner" class="drawer-inner"></div>
|
|
406
472
|
</aside>
|
|
407
473
|
|
|
474
|
+
<div
|
|
475
|
+
id="artifactDrawerBackdrop"
|
|
476
|
+
class="artifact-drawer-backdrop"
|
|
477
|
+
hidden
|
|
478
|
+
aria-hidden="true"
|
|
479
|
+
></div>
|
|
480
|
+
<aside
|
|
481
|
+
id="artifactDrawer"
|
|
482
|
+
class="artifact-drawer"
|
|
483
|
+
hidden
|
|
484
|
+
aria-label="Linked markdown artifact"
|
|
485
|
+
>
|
|
486
|
+
<header class="artifact-drawer-header">
|
|
487
|
+
<div class="artifact-drawer-title-block">
|
|
488
|
+
<h2 id="artifactDrawerTitle" class="artifact-drawer-title">Artifact</h2>
|
|
489
|
+
<p id="artifactDrawerMeta" class="artifact-drawer-meta"></p>
|
|
490
|
+
</div>
|
|
491
|
+
<button
|
|
492
|
+
type="button"
|
|
493
|
+
id="artifactDrawerCloseBtn"
|
|
494
|
+
class="drawer-close artifact-drawer-close"
|
|
495
|
+
aria-label="Close artifact"
|
|
496
|
+
>
|
|
497
|
+
<svg
|
|
498
|
+
class="ui-icon ui-icon-x"
|
|
499
|
+
viewBox="0 0 24 24"
|
|
500
|
+
aria-hidden="true"
|
|
501
|
+
focusable="false"
|
|
502
|
+
>
|
|
503
|
+
<path d="M6 6l12 12M18 6 6 18" />
|
|
504
|
+
</svg>
|
|
505
|
+
</button>
|
|
506
|
+
</header>
|
|
507
|
+
<div id="artifactDrawerBody" class="artifact-drawer-body"></div>
|
|
508
|
+
</aside>
|
|
509
|
+
|
|
408
510
|
<template id="commentFormTemplate">
|
|
409
511
|
<form class="comment-form">
|
|
410
512
|
<textarea
|
|
@@ -477,6 +579,7 @@
|
|
|
477
579
|
<button
|
|
478
580
|
type="button"
|
|
479
581
|
class="welcome-dialog-cta"
|
|
582
|
+
data-modal-initial-focus
|
|
480
583
|
data-modal-close
|
|
481
584
|
>
|
|
482
585
|
Get started
|
|
@@ -512,7 +615,14 @@
|
|
|
512
615
|
aria-label="Close"
|
|
513
616
|
data-modal-close
|
|
514
617
|
>
|
|
515
|
-
|
|
618
|
+
<svg
|
|
619
|
+
class="ui-icon ui-icon-x"
|
|
620
|
+
viewBox="0 0 24 24"
|
|
621
|
+
aria-hidden="true"
|
|
622
|
+
focusable="false"
|
|
623
|
+
>
|
|
624
|
+
<path d="M6 6l12 12M18 6 6 18" />
|
|
625
|
+
</svg>
|
|
516
626
|
</button>
|
|
517
627
|
</div>
|
|
518
628
|
<div class="welcome-dialog-body">
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { api, withBoardQuery } from "./api.js";
|
|
2
|
+
import { escapeHtml, renderMarkdown } from "./format.js";
|
|
3
|
+
import { toast } from "./toast.js";
|
|
4
|
+
|
|
5
|
+
const backdrop = document.getElementById("artifactDrawerBackdrop");
|
|
6
|
+
const drawer = document.getElementById("artifactDrawer");
|
|
7
|
+
const titleEl = document.getElementById("artifactDrawerTitle");
|
|
8
|
+
const metaEl = document.getElementById("artifactDrawerMeta");
|
|
9
|
+
const bodyEl = document.getElementById("artifactDrawerBody");
|
|
10
|
+
const closeBtn = document.getElementById("artifactDrawerCloseBtn");
|
|
11
|
+
|
|
12
|
+
function setOpen(open) {
|
|
13
|
+
if (!drawer || !backdrop) return;
|
|
14
|
+
drawer.hidden = false;
|
|
15
|
+
backdrop.hidden = false;
|
|
16
|
+
requestAnimationFrame(() => {
|
|
17
|
+
drawer.classList.toggle("is-open", open);
|
|
18
|
+
backdrop.classList.toggle("is-visible", open);
|
|
19
|
+
});
|
|
20
|
+
if (!open) {
|
|
21
|
+
setTimeout(() => {
|
|
22
|
+
if (drawer.classList.contains("is-open")) return;
|
|
23
|
+
drawer.hidden = true;
|
|
24
|
+
backdrop.hidden = true;
|
|
25
|
+
if (bodyEl) bodyEl.innerHTML = "";
|
|
26
|
+
}, 260);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export function closeArtifactDrawer() {
|
|
31
|
+
setOpen(false);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function localPathHint(path, error) {
|
|
35
|
+
const code = error?.payload?.error || error?.message || "Unable to load artifact";
|
|
36
|
+
const parts = [escapeHtml(code)];
|
|
37
|
+
if (code === "artifact_path_outside_allowed_roots" || code === "artifact_not_found") {
|
|
38
|
+
parts.push("<br><br>The Orbit server could not read that artifact path. If this webapp is hosted on another machine, the file needs to be stored on the hosted Orbit server or linked as a server-readable/repo-relative path.");
|
|
39
|
+
}
|
|
40
|
+
const mntDrive = String(path || "").match(/^\/mnt\/([a-z])\/(.+)$/i);
|
|
41
|
+
const slashDrive = String(path || "").match(/^\/([a-z])\/Users\/(.+)$/i);
|
|
42
|
+
if (mntDrive) {
|
|
43
|
+
const drive = mntDrive[1].toUpperCase();
|
|
44
|
+
parts.push(`<br><br>Windows spelling for this WSL path: <code>${escapeHtml(`${drive}:\\${mntDrive[2].replace(/\//g, "\\")}`)}</code>`);
|
|
45
|
+
} else if (slashDrive) {
|
|
46
|
+
const drive = slashDrive[1].toUpperCase();
|
|
47
|
+
parts.push(`<br><br>Windows spelling for this path: <code>${escapeHtml(`${drive}:\\Users\\${slashDrive[2].replace(/\//g, "\\")}`)}</code>`);
|
|
48
|
+
}
|
|
49
|
+
return parts.join("");
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export async function openArtifactDrawer({ ticketId, path, title = "Linked artifact" }) {
|
|
53
|
+
if (!ticketId || !path) return false;
|
|
54
|
+
if (!drawer || !bodyEl || !titleEl || !metaEl) return false;
|
|
55
|
+
titleEl.textContent = title;
|
|
56
|
+
metaEl.textContent = path;
|
|
57
|
+
bodyEl.innerHTML = `<p class="artifact-drawer-loading">Loading artifact…</p>`;
|
|
58
|
+
setOpen(true);
|
|
59
|
+
|
|
60
|
+
try {
|
|
61
|
+
const result = await api(
|
|
62
|
+
withBoardQuery(`/api/tickets/${encodeURIComponent(ticketId)}/artifacts/markdown?path=${encodeURIComponent(path)}`),
|
|
63
|
+
);
|
|
64
|
+
titleEl.textContent = title;
|
|
65
|
+
metaEl.textContent = result.path || path;
|
|
66
|
+
bodyEl.innerHTML = `<article class="markdown-body artifact-markdown-body">${renderMarkdown(result.content || "") || `<p>${escapeHtml("Empty artifact.")}</p>`}</article>`;
|
|
67
|
+
return true;
|
|
68
|
+
} catch (err) {
|
|
69
|
+
bodyEl.innerHTML = `<p class="artifact-drawer-error">${localPathHint(path, err)}</p>`;
|
|
70
|
+
toast.error("Artifact could not be opened");
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
closeBtn?.addEventListener("click", closeArtifactDrawer);
|
|
76
|
+
backdrop?.addEventListener("click", closeArtifactDrawer);
|
|
77
|
+
document.addEventListener("keydown", (event) => {
|
|
78
|
+
if (event.key === "Escape" && drawer && !drawer.hidden) closeArtifactDrawer();
|
|
79
|
+
});
|