Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keywords (WIP) #1268

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
fc15439
Keep custom metadata field values in array.
Integral Apr 24, 2019
bd84c0b
Use keyword input for keyword editing.
Integral Apr 25, 2019
ec9a508
Initial keyword editor version.
Integral Apr 25, 2019
01ad890
Keep event _stopAndPreventDefault helper in overlay mixin.
Integral Apr 25, 2019
de23d49
Fix typo.
Integral Apr 25, 2019
378b708
WIP: keyword input widget.
Integral Apr 25, 2019
3d5d412
Comment out current overlay resetting strategy.
Integral Apr 26, 2019
5717f0b
Use surface for keyword editing.
Integral Apr 26, 2019
dd7ab80
Introduce Popup component.
Integral Apr 26, 2019
182d8a8
Improve popup styling.
Integral Apr 26, 2019
801ca6a
Add more style variables.
Integral Apr 26, 2019
a6e9e6b
Improve multi sleect input styling.
Integral Apr 26, 2019
5a1a661
Improve keyword input styling.
Integral Apr 26, 2019
07b70ed
Set lower z-index.
Integral Apr 27, 2019
0d63184
Improve keyword input styling.
Integral Apr 27, 2019
3a2fd58
Set width of keyword input for metadata fields.
Integral Apr 27, 2019
0858278
Add missing labels and icons for keyword input.
Integral Apr 27, 2019
e46ea79
Provide correct label for keyword input.
Integral Apr 27, 2019
995d53e
Limit keyword input width.
Integral Apr 27, 2019
0477da8
Keyword inout imrovements.
Integral Apr 27, 2019
7489ba3
Repair affiliation select editor styling.
Integral Apr 27, 2019
7038c1b
Silence.
Integral Apr 27, 2019
6cff250
Remove keyword via command.
Integral Apr 29, 2019
e22ae38
Improve remove keyword command execution.
Integral Apr 29, 2019
e5bc4f6
Add palceholder for custom field value.
Integral Apr 29, 2019
cc69279
Move KeywordInput to article shared components folder.
Integral Apr 30, 2019
57c0f72
Import modules separatly.
Integral Apr 30, 2019
d9f9365
Use substance.domHelper
obuchtala Apr 30, 2019
fd948c4
Move generalized _getOverlayId() into OverlayMixin.
obuchtala Apr 30, 2019
95cbea0
Expose overlay instance via child context.
obuchtala Apr 30, 2019
32022d7
Enable reducer for editorState.overlayId
obuchtala Apr 30, 2019
0f4475b
Focus KeywordInput's new field when shown.
obuchtala Apr 30, 2019
f9118e2
Use the unminified substance bundle in web-demo.
obuchtala Apr 30, 2019
a70cc66
Working on KeywordInput implementation.
obuchtala Apr 30, 2019
df8b36a
Keep keyword values in custom-metadata-value.
Integral May 1, 2019
58d0973
Add CustomMetadataValue model to article model package.
Integral May 1, 2019
2312c60
Use CustomMetadataValue in figure panel converter.
Integral May 1, 2019
d83311f
Use dedicated model for custom metadata keywords.
Integral May 1, 2019
204508a
Improve kwyword removing command.
Integral May 2, 2019
de69be3
Remove obsolete API documentation.
obuchtala May 3, 2019
eb2fc5d
Allow to disable ESC handling of Input component.
obuchtala May 3, 2019
f707ef2
Trying a selection based approach for KeywordInput.
obuchtala May 3, 2019
5fed508
Silence.
obuchtala May 3, 2019
acda28f
Fix keyword removing.
Integral May 3, 2019
269c6a2
Move selection after keyword removing.
Integral May 3, 2019
f7e6fca
Get document via editor session.
Integral May 3, 2019
69f52ac
Change tests accordingly to new metadata keyword values input.
Integral May 3, 2019
ea0c296
Do not move popup down when new values added.
Integral May 13, 2019
065a321
Set old popup margin.
Integral May 13, 2019
5d52583
Use css variable.
Integral May 14, 2019
9e87aa2
Improve look of keyword popup.
Integral May 14, 2019
d16bbc9
Remove kwywords through context menu.
Integral May 14, 2019
f1e5edf
Set new keyword input width.
Integral May 14, 2019
31373a5
Add keyboard shortcuts for keyword removing.
Integral May 15, 2019
fcff549
Fix rebase regression.
obuchtala May 16, 2019
0e7268c
Fix demo/index.html
obuchtala May 16, 2019
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
14 changes: 7 additions & 7 deletions builds/demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@
<title>Texture Editor</title>
<meta charset="UTF-8">
<style>
@import '../texture.css';
@import '../texture-reset.css';
@import '../lib/katex/katex.min.css';
@import '../lib/inter-ui/inter.css';
@import '../lib/font-awesome/css/font-awesome.min.css';
@import './texture.css';
@import './texture-reset.css';
@import './lib/katex/katex.min.css';
@import './lib/inter-ui/inter.css';
@import './lib/font-awesome/css/font-awesome.min.css';
body { overflow: hidden; }
html, body { height: 100%; }
.sc-app {
height: 100%;
}
</style>
<script type="text/javascript" src="./lib/substance/substance.min.js"></script>
<script type="text/javascript" src="./lib/substance/substance.js"></script>
<script type="text/javascript" src="./lib/katex/katex.js"></script>
<script type="text/javascript" src="./texture.js"></script>
<script type="text/javascript" src="../plugins/texture-plugin-jats/texture-plugin-jats.js"></script>
<script type="text/javascript" src="./plugins/texture-plugin-jats/texture-plugin-jats.js"></script>
<script type="text/javascript" src="./demo/vfs.js"></script>
<script type="text/javascript" src="./demo/demo.js"></script>
</head>
Expand Down
347 changes: 0 additions & 347 deletions docs/TextureAPI.md

This file was deleted.

1 change: 1 addition & 0 deletions make.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ b.task('build:assets', function () {
b.copy('./node_modules/inter-ui', DIST + 'lib/inter-ui')
b.copy('./node_modules/katex/dist', DIST + 'lib/katex')
b.copy('./node_modules/substance/dist/*.css*', DIST + 'lib/substance/')
b.copy('./node_modules/substance/dist/substance.js*', DIST + 'lib/substance/')
b.copy('./node_modules/substance/dist/substance.min.js*', DIST + 'lib/substance/')
b.copy('./node_modules/texture-plugin-jats/dist', DIST + 'plugins/texture-plugin-jats')
b.css('texture.css', DIST + 'texture.css')
Expand Down
Loading