proposal to re-work the welcome page
Thomas Friedrichsmeier
thomas.friedrichsmeier at kdemail.net
Sat Apr 30 10:06:53 BST 2022
On Wed, 20 Apr 2022 22:47:30 +0200
meik michalke <meik.michalke at uni-duesseldorf.de> wrote:
> Am Mittwoch, 20. April 2022, 15:27:32 CEST schrieb Thomas
> Friedrichsmeier:
> > So - what do you think? What should we add / remove / improve?
>
> "my recent script files" seems to list all files that were opened in
> the editor, not just R scripts. is it possible to add some radio
> buttons here to set filters for "R" (*.R), "markdown" (*.Rmd,
> *.Rmarkdown, *.md), and "all files"? :: m.
In principle, such a control could be implemented in some javascript
running on that page. However, I think it may not be trivial to come up
with an actually useful solution:
For simplicity of code, the recent files listed are the same as those
available from File->Open Recent... If the list was broken into
separate categories before storing, that would mean, we'd have to have
separate menu entries for the different recent files lists. If,
instead, we continue to have a single list for all files in the editor,
and split into separate categories, dynamically, the problem is that
all entries in the list still share a limited number of slots. Suppose
we keep ~ten items in the list, total, that will make it rather likely
that none, or only a few of each category are contained in the list.
Make the list much larger, and it will take up too much space (both on
the welcome page, and in the menu).
Anyway, if that doesn't discourage you, if you provide the javascript,
I'll be happy to get it into the page somehow, for further experiments.
Regards
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20220430/f241c6c8/attachment.sig>
More information about the rkward-devel
mailing list