Wykres commitów

529 Commity (ac8f52130353dd5476599b979a8eea6abd8b3648)

Autor SHA1 Wiadomość Data
jeremy@jermolene.com 7cb6dc0e4f Override crazy browser defaults for h1 fontsize
Fixes #5311
2020-12-24 10:37:54 +00:00
Simon Huber dc83ee411d
Fix problem with tc-btn-invisible not correct fill color (#5288) 2020-12-16 16:20:14 +00:00
Simon Huber 78c2beb640
Add fill: <<colour button-foreground>> to html button in vanilla/base (#5250) 2020-12-10 17:33:42 +00:00
Simon Huber 1af1f6621a
cursor:pointer on input[type=file] doesn't work in webkit browsers... (#5244) 2020-12-10 17:09:03 +00:00
Simon Huber 4334de88a0
Make search-matches button discoverable on dark palettes (#5232) 2020-12-07 17:29:42 +00:00
Simon Huber 62a2a0e579
Fix typo in vanilla/base (#5135) 2020-11-28 21:13:18 +00:00
Simon Huber 7d2703bffb
Make tiddler-editor iframe same color as tiddler background (#5132) 2020-11-28 14:07:46 +00:00
Mario Pietsch 8320a55fef
fix titlebar line-height for chrome (#5122) 2020-11-25 16:27:31 +00:00
Simon Huber 5769cf9784
Fix #5108 - vanilla/reset overrides system fonts (#5118) 2020-11-24 21:15:37 +00:00
Simon Huber 3d93790573
Fix StaticRiver exporter width of static tiddlers (#5099)
* Add tc-static-story-river class to StaticRiver exporter

* Update base.tid
2020-11-23 18:06:46 +00:00
saqimtiaz aa6f152d35
Add Switcher modal (#5089)
* Alternative switcher using a parameter via tm-show-switcher

* Add CSS class for centered modals

* Changed keyboardshortcut and removed transition CSS

* Resolved wording issues
2020-11-23 17:06:24 +00:00
Simon Huber 530b4308e3
Make type input field min-width the highest character length of selectable types (#5090)
* Make type input field min-width the highest character length of selectable types

* Update base.tid

* Update base.tid
2020-11-22 21:12:19 +00:00
Simon Huber 5945506169
Revert line-height of 3em on tiddler-edit-title (#5083) 2020-11-20 18:21:30 +00:00
Simon Huber 1339c23b3a
Adjustments for narrow screens (#5079) 2020-11-20 14:00:56 +00:00
Simon Huber da66323dc5
Remove 2em of whitespace from EditTemplate when there are no visible fields (#5063)
* Remove 2em of whitespace from EditTemplate when there are no visible fields

* Update base.tid

* Update fields.tid

* Update fields.tid

* Update base.tid
2020-11-18 18:02:40 +00:00
saqimtiaz 6f8dca956b
Colour code ImportListing rows (#5067) 2020-11-18 15:50:40 +00:00
jeremy@jermolene.com 1eac5c051f Menu lists should only use white-space: nowrap in the sidebar
Fixes #5030
2020-11-13 18:00:37 +00:00
Simon Huber 27bed615ab
Move styles from menubar plugin to vanilla/base (#5019)
* Update styles.tid

* Update base.tid

* Update styles.tid

* Update base.tid
2020-11-09 18:18:30 +00:00
saqimtiaz 59c6f4447e
Import UI : Fix issue with size of rename button (#5012)
* Fix issue with size of rename button

* Add css instead of hard coded style attribute
2020-11-08 23:21:01 +00:00
Simon Huber 480e4e2ce9
Make fieldvalue-input a bit larger when viewport is narrow (#5007)
* Make field-value input display a bit larger when narrow

* Update base.tid

* Update base.tid

* Update base.tid
2020-11-08 22:30:31 +00:00
Simon Huber db48ce5f2c
Correct breakpoint for no-box-shadow in snowwhite/base stylesheet (#5008) 2020-11-08 22:28:32 +00:00
jeremy@jermolene.com 93e7380188 Update default body text font to modern-normalize.css default
Fixes #4988
2020-11-07 09:45:03 +00:00
jeremy@jermolene.com 9003c81039 Switch to more modern fork of normalize.css
https://github.com/sindresorhus/modern-normalize
2020-11-07 09:42:37 +00:00
jeremy@jermolene.com 22e25c05eb Remove normalize.css's styling of search inputs
As discussed here: https://github.com/Jermolene/TiddlyWiki5/issues/4984#issuecomment-723169753
2020-11-06 16:24:05 +00:00
Simon Huber 635ec65d3f
Fix alignment of tc-tiddler-edit-title (#4949) 2020-11-01 10:58:27 +00:00
saqimtiaz 655501140b
Improvements for Import UI (#4937)
* Fixed bug with old titles used in popup, improved UI for greater rename input size

* Added flexbox utility CSS and use it for import UI
2020-10-29 13:01:17 +00:00
saqimtiaz 9605d94b6c
Import rename (#4928)
* Add UI for renaming tiddlers before import in the import listing

* Removed spurious whitespace
2020-10-28 16:03:04 +00:00
Simon Huber 12be7ac7e9
Add ability to navigate fieldname-dropdown by keyboard (#4921)
* make fields EditTemplate navigatable by keyboard

* Add configuration tiddler for fieldname-dropdown filters

* Update base.tid
2020-10-28 11:59:36 +00:00
Simon Huber 57ba4c8cba
Add .tc-small-gap (+left / right) and .tc-big-gap... (#4923)
(+left / right) classes that define margins of .5em / 1em
2020-10-28 11:57:08 +00:00
Mario Pietsch 4877891980
Fix tiddler title alignment if no icon is acitve (#4859)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* don't show the span if no icons are active.

* title lineheight 1.3 needed for eg: gggggg
2020-10-23 19:39:03 +01:00
jeremy@jermolene.com 9716c32695 Fix Firefox bug with selection colours
See 543f9107b6 (commitcomment-42849656)
2020-09-30 17:59:39 +01:00
jeremy@jermolene.com 543f9107b6 Don't override browser selection colours by default
Reverts some of #4590
2020-09-25 14:06:00 +01:00
jeremy@jermolene.com 7de8e1fc97 Remove extraneous CSS property
Fixes #4713
2020-08-28 14:51:11 +01:00
Adithya Badidey 8cf458d3b3
Adding SolarizedDark Palette, updated SolarizedLight and one tiny UI fix (#4799)
* Fixed Overflow svg fill

When hovered, the svg should be the same colour as the text it comes alongside. This fixes that.

* Fixed the Solarized Palettes as per spec

- Added the Solarized Dark palette
- Remade the Solarized Light palette with the right contrast ratios as per Solarized Spec.

* Sidebar Selected Tab UI Change

Changed the selected tab border and foreground from pink to white(base01) because the pink was too distracting and not very readable.

* Fixed Hover css for plugin info listing

The css was not working so I fixed it.

* Fixed the UI for plugin info tiddler (among others)
2020-08-11 18:54:17 +01:00
Simon Huber 17e2b208e8
Fix #4794 - tc-type-selector-wrapper not containing tc-edit (#4798)
* Update type.tid

* Update base.tid
2020-08-10 09:25:14 +01:00
Simon Huber 4de95a64c1
Lower width for field-value input field (#4760) 2020-07-17 08:48:30 +01:00
Simon Huber a0bd93c596
Make tags in tags-dropdown change bg-color on hover (#4753) 2020-07-14 12:32:51 +01:00
Simon Huber 0d2df34c58
Keyboard-driven dropdown inputs (#4725)
* Add shortcut descriptions to Misc.multids

* Update framed.js

* Update simple.js

* Add inputActions and refreshTitle to factory.js

* Add inputActions and refreshTitle to edit.js

* Update DefaultSearchResultList.tid

* Update search.tid

* Update ShortcutInfo.multids

* Update shortcuts.multids

* Create keyboard-driven-input.tid

* Update tag-picker.tid

* Create keyboard-driven-input_Macro.tid

* Update EditTextWidget.tid

* Update EditWidget.tid

* Update engine.js

* Update base.tid

* Use primaryListFilter, secondaryListFilter, primaryList and secondaryList

* Update tag-picker.tid

* Update search.tid

* Update DefaultSearchResultList.tid

* Update keyboard-driven-input_Macro.tid

* Fix typo udpate -> update

* Update framed.js
2020-07-13 17:42:55 +01:00
Simon Huber 17a36726fa
Fields EditTemplate: Correct positioning of dropdown (#4687)
* Add wrapper div to fields EditTemplate

* Add classes

* remove obsolete span

* Update base.tid
2020-06-11 12:18:31 +01:00
Simon Huber 482f7a92ae
Type EditTemplate: show dropdown at correct position ... (#4686)
* Refactor type edittemplate for correct positioning...

... of type dropdown

* Refactor classes
2020-06-11 12:14:09 +01:00
Simon Huber 84cd761c8c
Fix alignment of tag-pill icons (#4683) 2020-06-11 12:07:23 +01:00
Simon Huber a947a6b6bc
Fix hover colors of tag dropdown entries in sidebar (#4682) 2020-06-11 12:06:49 +01:00
Simon Huber 86640474b5
Fix search dropdown items text color on hover (#4632) 2020-05-06 09:46:29 +01:00
Simon Huber cae937f107
Make selections follow palette colors (#4590) 2020-04-22 10:46:36 +01:00
Mario Pietsch 2b6c87fb4b
Remove unwanted whitespace from sidebar links (#4552)
* add a new-line before the log text to increase readability of the test output

* make eslint, jslint happy

* it shouldn't be there

* fremove this file from my PRs

* fix 4532. Links should not add unwanted whitespace, since this causes problems with CSS styling

* remove whitespace from tiddler title and add a little bit of margin-right to the tiddler icon.

* use default parameters for link handling, which results in less code

* introduce tc-viewswitcher class to be able to style icon distance to text
2020-04-15 12:35:35 +01:00
Jeremy Ruston 86296b67aa Plugin Chooser: Distinguish between install, reinstall, update and downgrade 2020-04-13 10:04:14 +01:00
Jeremy Ruston bc8859b550 AddPlugins: Add a clearer prompt for plugins that have subplugins 2020-04-09 11:06:54 +01:00
Nils-Hero Lindemann 322c37d693
Let chained `>` blockquotes generate valid HTML (#4332)
* Replace "p" with "div" in itemTag

'>> text' will now be valid html.

* Make the new div's behave like p's
2020-04-07 20:39:13 +01:00
Jeremy Ruston b95723a022
Fix syncer to handler errors properly (#4373)
* First commit

* Add throttling of saves

Now we refuse to save a tiddler more often than once per second.

* Wait for a timeout before trying again after an error

* Modest optimisations of isDirty() method

* Synchronise system tiddlers and deletions from the server

Fixes two long-standing issues:

* Changes to system tiddlers are not synchronised from the server to the browser
* Deletions of tiddlers on the server are not propagated to browser clients

* Make sure we update the dirty status even if there isn't a task to perform

* Replace save-wiki button with popup sync menu

* Remove the "Server" control panel tab

We don't need it with the enhanced sync dropdown

* Add indentation to the save-wiki button

* Fix spacing in dropdown menu items

* Switch between cloud icons according to dirty status

* Add a menu item to copy syncer logs to the clipboard

* Improve animated icon

* Remove indentation from save-wiki button

@pmario the annoying thing is that using `\trim whitespace` trims significant whitespace too, so it means we have to use <$text text=" "/> when we need a space that won't be trimmed. For the moment, I've removed the indentation but will keep thinking about it.

* Further icon, UI and copy text tweaks

Move the icons and styles from the core into the TiddlyWeb plugin

* Clean up PR diff

* Tweak animation durations

* Break the actions from the syncer dropdown into separate tiddlers

@pmario I think this makes things a bit easier to follow

* Refactor syncadaptor creation and logging

The goal is for the syncadaptor to be able to log to the same logger as the syncer, so that the "copy syncer logs to clipboard" data is more useful.

* Don't transition the dirty indicator container colour, just the SVG's colour

* Only trigger a sync for changes to tiddlers we're interested in

Otherwise it is triggered by the creation of the alert tiddlers used to display errors.

* Restore deleting local tiddlers removed from the server

(I had commented it out for some testing and accidentally commited it).

* Guard against missing adaptor info

* We still need to trigger a timeout when there was no task to process

* Avoid repeatedly polling for changes

Instead we only trigger a timeout call at if there is a pending task (ie a tiddler that has changed but isn't yet old enough to save).

* Lazy loading: include skinny versions of lazily loaded tiddlers in the index.html

* Introduce _is_skinny field for indicating that a tiddler is subject to lazy loading

* Remove savetrail plugin from prerelease

It doesn't yet work with the new syncer

* Make the savetrail plugin work again

* Clear outstanding alerts when synchronisation is restored

* Logger: only remove alerts from the same component

Missed off 9f5c0de07

* Make the saving throttle interval configurable (#4385)

After switching Bob to use the core syncer the throttle interval makes saving feel very sluggish compared to the message queue setup that I had before.
The editing lock that I use to prevent conflicts with multiple users doesn't go away until the save is completed, and with the 1 second delay it means that if you edit a tiddler and save it than you have to wait one second before you can edit it again.

* Tweaks to appearance of alerts

* Exclude temp tiddlers from offline snapshots

Otherwise alerts will persist

* Tweak appearance of status line in dropdown

* Update release note

* Web server: Don't include full path in error messages

Fixes #3724

* In change event handler check for deletions

* Disable the official plugin library when the tiddlyweb plugin is loaded

* Hide error details from browser for /files/ route

See https://github.com/Jermolene/TiddlyWiki5/issues/3724#issuecomment-565702492 -- thanks @pmario

* Revert all the changes to the relationship between the syncer and the syncadaptor

Previously we had some major rearrangements to make it possible for the syncadaptor to route it's logging to the logger used by the syncer. The motivation is so that the "copy logs to clipboard" button is more useful.

On reflection, changing the interface this drastically is undesirable from a backwards compatibility perspective, so I'm going to investigate other ways to achieve the logger sharing

* Make the tiddlyweb adaptor use the syncer's logger

So that both are availavble when copying the syncer logs to the clipboard

* Update release note

* Support setting port=0 to get an OS assigned port

Quite useful

* Update code comment

* UI: Use "Get latest changes from server" instead of "Refresh"

* Add getUpdatedTiddlers() method to syncadaptor API

See https://github.com/Jermolene/TiddlyWiki5/pull/4373#issuecomment-573579495

* Refactor revision handling within the syncer

Thanks @pmario

* Fix typo in tiddlywebadaptor

* Improve presentation of errors

See https://github.com/Jermolene/TiddlyWiki5/pull/4373#issuecomment-573695267

* Add docs for getTiddlerRevision()

* Remove unused error animation

* Update comment for GET /recipes/default/tiddlers/tiddlers.json

* Optimise SVG cloud image

* Add optional list of allowed filters for get all tiddlers route

An attempt to address @Arlen22's concern here:

https://github.com/Jermolene/TiddlyWiki5/pull/4373#pullrequestreview-342146190

* Fix network error alert text translatability

* Fix error code and logging for GET /recipes/default/tiddlers/tiddlers.json

Thanks @Arlen22

* Flip GET /recipes/default/tiddlers/tiddlers.json allowed filter handling to be secure by default

* Validate updates received from getUpdatedTiddlers()

* Add syncer method to force loading of a tiddler from the server

* Remove the release note update to remove the merge conflict

* Fix crash when there's no config section in the tiddlywiki.info file

* Use config tiddler title to check filter query (merge into fix-syncer) (#4478)

* Use config tiddler title to check filter query

* Create config-tiddlers-filter.tid

* Add config switch to enable all filters on GET /recipes/default/tiddlers/tiddlers.json

And update docs

* Fix bug when deleting a tiddler with a shadow

Reported by @kookma at https://github.com/Jermolene/TiddlyWiki5/pull/4373#issuecomment-604027528

Co-authored-by: jed <inmysocks@fastmail.com>
Co-authored-by: Arlen22 <arlenbee@gmail.com>
2020-03-30 15:24:05 +01:00
Simon Huber 18151cc193
Make "type" input look consistent with "fields" input (#4358)
* add class tc-edit-texteditor to type field, trim ...

... whitespace, make look consistent

* define width 20% for type input field

* add second nbsp; for consistency with type input
2020-01-30 15:39:38 +00:00