1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00
Commit Graph

4767 Commits

Author SHA1 Message Date
pmario
cab4378656 list-tagged-draggable shows caption field if it is available 2024-11-02 02:16:58 +01:00
Jeremy Ruston
f565b5b55d Fix genesis widget so that explicit attributes take precedence
Fixes #8701
2024-10-30 14:51:04 +00:00
Jeremy Ruston
6787a174b1 Revert "Add new classes to wikitext created emphasised elements to make them easily stylable (#8163)"
This reverts commit 44cf2e3c70.
2024-10-30 14:47:26 +00:00
Mario Pietsch
44cf2e3c70
Add new classes to wikitext created emphasised elements to make them easily stylable (#8163)
* allow internal link to be wikitex formatted as bold

* fix typo

* add new classes to all emphasis and inline-code elements

* fix tests for new STRONG classes
2024-10-30 09:19:01 +00:00
Saq Imtiaz
a687aefbe9
Extends element widget with support for CSS custom properties (#8699)
* Extend element widget with support for CSS custom properties.

* chore: added tests

* chore: code style

* docs: added documentation for support for CSS custom properties

* docs: added documentation for support for CSS custom properties
2024-10-29 11:59:04 +00:00
Mario Pietsch
8b9723f6c7
Add action tiddler list to droppable widget (#8256)
* initial POC

* clean up the code

* Add documentation changes

* Improve docs
2024-10-24 17:51:19 +01:00
Mario Pietsch
b68de0d69f
Toc uses currentTiddler as "tag" default parameter if it is missing (#8291)
* toc's use currentTiddler, if tag prameter is undefined

* add currentTiddler info to toc documentation
2024-10-24 17:39:18 +01:00
Leilei332
c060216a8e
Make recent tab limit configurable (#8698)
Make maxium number of tiddlers under the "Recent" tab configurable in
the `$:/config/RecentLimit` tiddler. UI for configuring this option is
also added under the "Settings" tab.
2024-10-24 15:09:30 +01:00
Simon Huber
8b60cab6a2
Keyboard driven input rework (#8678)
* Update tag-picker.tid

* rework kb-driven-input macro to procedures + new syntax

* rework change-input-tab to procedure

* fix

* remove console log :)

* replace defines with procedures

* fix link-dropdown

* fix focus-selector in new-field dropdown

* revert changing the footpring of change-input-tab + make it work as procedure

* update change-input-tab procedure

* refactor change-input-tab procedure and keep tags/Macro tag

* simplify complicated filter

* add tags/Global tag

* remove tags/Global tag

* rename variable
2024-10-24 14:34:23 +01:00
Jeremy Ruston
9635e2d8af Revert refactoring CSS helper macros as functions
See discussion at https://github.com/TiddlyWiki/TiddlyWiki5/pull/7987#issuecomment-2431123638
2024-10-23 08:21:11 +01:00
Jeremy Ruston
0a03ac8219 Revert to just using $:/tags/Macro for core macros
See #8683
2024-10-22 13:15:34 +01:00
Jeremy Ruston
ea3cb1c58d Fix build command crash with no wiki folder
Fixes #8694
2024-10-21 17:42:35 +01:00
Leilei332
a0caa0f12d
Fix timeline macro showing long list of tiddlers created the same day. (#8690) 2024-10-20 10:47:50 +01:00
Leilei332
e259f414d9
Fix some tiddlers should use code body (#8687)
A small fix which applys code bodies to these tiddlers:
* Tiddlers with prefix `$:/core/config/`
* Tiddlers tagged `$:/EditorTools` and `$:/tags/ToolbarButtonStyle`
2024-10-19 09:24:24 +01:00
Leilei332
e25ab7777f
Further fix content overflow. (#8682)
This reverts fix for all tables. It should fix #8617.

It also adds fix for overflow in $:/Manager 's content page, testcase
widget output. The fix for overflow $:/TagManager is reverted since it
caused the dropdown not to display properly.
2024-10-18 13:16:50 +01:00
Jeremy Ruston
a51afc8b81 Add support for HTTP bearer authentication 2024-10-10 15:10:55 +01:00
Mario Pietsch
1736d9dd4d
Fix misaligned subtitle (#8672) 2024-10-08 11:48:46 +01:00
Mohammad Rahmani
c0415d9c93
Make All Hex Color Code Consistent (#8665) 2024-10-06 17:43:18 +01:00
Jeremy Ruston
2327dd043f Revert "Fix alignment in tiddler subtitle (#8659)"
This reverts commit f4f1ae6b9b.
2024-10-03 13:19:23 +01:00
Mario Pietsch
f4f1ae6b9b
Fix alignment in tiddler subtitle (#8659) 2024-10-03 12:34:39 +01:00
Saq Imtiaz
e591dfd590
Update the editor file import UI to support markdown tiddlers (#8486)
* chore: update editor file import to use procedures and substitute operator

* feat: refactor editor file-import UI to reuse filter from $:/config/Editor/EnableImportFilter

* feat: support for markdown in editor file import UI

* feat: improve markdown type detection and enable markdown image imports by default

* fix: uri encode tiddler titles for markdown

* escape characters instead of URI encoding

* fix: tweak regexp to simplify code and document escaping rules
2024-10-02 13:15:53 +01:00
Leilei332
c82761a600
Add tc-table-wrapper class to fix overflow (#8652)
* Add tc-table-wrapper class to fix overflow

* Apply class in tag manager body
2024-10-02 13:06:40 +01:00
Saq Imtiaz
3f4067ef7b
Fix: variables in functions should not pollute upstream widgets (#8641) 2024-09-30 14:26:36 +01:00
Simon Huber
96840b886f
Fix mediatype Typo in excise.js (#8640)
This fixes the typo "mediatype" instead of "mediaType" causing a RSOE
2024-09-30 14:26:00 +01:00
Leilei332
bb462210c3
Make stability badges in add plugin modal translatable (#8642)
A further implementation for #8614
2024-09-30 14:24:10 +01:00
Leilei332
2a77d6afdf
Fix confusing empty message in tag dropdown (#8649) 2024-09-30 13:40:45 +01:00
Maurycy Zarzycki
ae8a6e7fb8
Pl 2024 09 24 (#8631)
* Fix accidentally putting Polish translation in English locale

* Add translations introduced in c386411570
2024-09-24 18:11:40 +01:00
Jeremy Ruston
678c272979 Revert "Improve View Widget Refreshing (#8135)"
This reverts commit 6ae00e4973.
2024-09-24 11:48:54 +01:00
lin onetwo
a60e7165d2
Feat: loading indicator for tiddlers being lazy loaded (#8505)
* feat: basic loading

* feat: if condition

* feat: use palette

* refactor: remove css variable
2024-09-24 11:38:39 +01:00
Leilei332
c386411570
Make stability badge text translatable (#8614) 2024-09-17 14:16:18 +02:00
Leilei332
73225d09d7
Fix shadow tiddler with code body displayed as missing (#8609)
Fix problem introduced in #8604
2024-09-17 08:52:46 +02:00
Leilei332
8d80ff297c
Fix colour-picker dropdown auto close when selecting or typing a color (#8610) 2024-09-17 08:51:13 +02:00
Maurycy Zarzycki
0222d4df7c
Add translation changes to Polish from commits: (#8612)
* ece8b0ee01
* 5aa3646df5
* c8cbf6853e
* 18152aa7c8
* d2302df197
* 8735d1ac93
* 82bf4480de
* 3af2a0ae6f
* 57d3e8e765
* 5c43512a56
* 98cd4a09b4
* 98d411c08a
2024-09-17 08:48:32 +02:00
Leilei332
19990802fa
Fix missing tiddler with code body isn't displayed properly. (#8604) 2024-09-16 11:39:50 +02:00
Leilei332
0f4d6e4e47
Fix extra p tag in colour-picker (#8605) 2024-09-16 11:38:55 +02:00
Leilei332
a510e4ad68
Use colour-picker macro in Tag Manager (#8606) 2024-09-16 11:38:27 +02:00
Simon Huber
6ae00e4973
Improve View Widget Refreshing (#8135)
* Update view.js

* add viewhandler base class and view subclasses

* simplify render methods of wikified views

* use fakewidget's text for rendering

* simplify wikified refresh methods

* remove unneeded self=this

* pass mode to makeTranscludeWidget

* update view widget

* update view widget
2024-09-15 11:49:09 +02:00
Leilei332
c7ca8359ab
Add drag and drop handling for export macro & rewrite using v5.3.2 syntax (#8594) 2024-09-12 19:33:57 +01:00
Mohammad Rahmani
fbf619b006
Update ViewTemplateBodyFilters.multids For Readability (#8592)
This Cascade from 

```
[tag[$:/tags/wiki-test-spec]type[text/vnd.tiddlywiki-multiple]then[$:/core/ui/TestCaseTemplate]] [tag[$:/tags/wiki-test-spec-failing]type[text/vnd.tiddlywiki-multiple]then[$:/core/ui/TestCaseTemplate]]
```

Simplified. I also suggest using the same convention for all cascades
2024-09-12 10:09:11 +01:00
Michael McDermott
a960e4f658
Make Excision Available for Markdown (#8498)
* Updates to make Excision more friendly to Markdown users by adding
Markdown as an option in the criteria to use excision and by making the
excise operation reuse the type of the tiddler being excised.

* Updated excise operation to use Markdown syntax for links.
2024-09-10 17:57:06 +01:00
Mario Pietsch
d450fce77b
Add trimSelection parameter to text editor (#7944)
* add trimSelection - both, start, end, no

* add documentation for trimSelection to tm-edit-text-operation tiddler

* add trimSelection both to all buttions where it makes sense

* change "both" to "yes" as a default

* fix trimSelection typo

* fix trimSelection typo

* docs trimSelection add "no" as possible value - it's the default

* remove some redundant variable declarations

* update from-version

* fix comment typos

* fix whitespace

* make local variables more visible
2024-09-10 17:17:28 +01:00
Mario Pietsch
753a820945
Edittemplate toolbar improve accessibility (#8324)
* change aria-label from caption to hint to make it more descriptive

* add indentation
2024-09-10 17:14:29 +01:00
Mario Pietsch
ffbef16152
ViewTemplate toolbar add, change aria-label to hint so it is more descriptive (#8323) 2024-09-10 17:13:58 +01:00
Mario Pietsch
4f4e055091
Add a search button to the control panel tiddler fields tab (#8157)
* add a search button to the control panel tiddler fields tab

* minor update

* use v5.3.x syntax

* use tf. prefix for the function

* make show-filter-count a global macro

* make table header translatable

* add documentation

* show-filter-count code cleanup

* remove the table-header

* remove erroneous caption field
2024-09-10 16:30:59 +01:00
Leilei332
eaf8558595
Update PageControls buttons to use v5.3.2 syntax (#8579)
* Let PageControls buttons use v5.3.2 syntax

* Rewrite buttons and actions

* Omit whitespace & use function to avoid duplicating

* Omit whitespace in conditional syntax
* Define tf.get-tags function to avoid duplicated text substitution
* Rewrite advanced search button

* Add space in join operator

* Rewrite buttons in plugins

* Remove tf prefix in new-journal.tid

* Remove tf prefix in new-tiddler.tid
2024-09-10 12:00:13 +01:00
Jeremy Ruston
1368cd67ca
Fix missing closing tag, and update erroneous docs (#8340) 2024-09-10 11:50:08 +01:00
Mario Pietsch
8a8dcf8255
Add startCount to unusedtitle macro, new tests, new docs (#7941)
* add startCount to unusedtitle macro, new tests, new docs

* rename test files

* update .from-version in docs
2024-09-10 10:49:41 +01:00
Mario Pietsch
e1b3308a9d
Fix float right overflow (#8557)
* tc-subtitle is not a sibling to tc-body,
So tc-subtitle needs a clearfix to contains float:right

* add clearfix to all tiddler elements that could contain floats

* add clearfix to tc-tiddler-title in ViewTemplate

* add clearfix to plugin/blog/templates

* add clearfix to plugin/tour/templates

* remove test tiddler

* rename draft title class to tc-tiddler-title-draft

* undo title field covering

* move tc-clearfix to tc-float-right in the base CSS file

* rename clearfix CSS class to tc-clearfix

* update documentation tiddlers
2024-09-09 09:48:57 +01:00
Mario Pietsch
d827c57dcf
Make export macros code readable without changing any functionality (#8513) 2024-09-08 15:57:55 +01:00
Simon Baird
7f2ab57f78
Fix invalid accept header in put saver (#8547)
IIUC the charset doesn't belong in the Accept header. It does belong
in a Content-Type header though, see [1] and [2].

FYI this header causes problems for Tiddlyhost which must work around
the invalid mime type, see [3] for the nitty-gritty.

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
[2] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type
[3] 10cd353552
2024-09-06 19:55:51 +01:00