all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [Worg] Keep table of contents visible in wide viewports?
@ 2024-03-23 13:57 Adam Porter
  2024-03-23 14:06 ` Ihor Radchenko
  2024-05-13 11:11 ` Ihor Radchenko
  0 siblings, 2 replies; 3+ messages in thread
From: Adam Porter @ 2024-03-23 13:57 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Looking at Worg now, it occurred to me that, when my browser window is 
maximized, there's plenty of room for the table of contents to remain 
visible alongside the content.  But it's hidden automatically, and 
remains hidden until the user interacts with it, which seems suboptimal 
for an intra-page table of contents.

Could we modify it to keep the ToC visible when the window is wide 
enough?  I think that would be a big usability improvement.  WDYT?

--Adam


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Worg] Keep table of contents visible in wide viewports?
  2024-03-23 13:57 [Worg] Keep table of contents visible in wide viewports? Adam Porter
@ 2024-03-23 14:06 ` Ihor Radchenko
  2024-05-13 11:11 ` Ihor Radchenko
  1 sibling, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2024-03-23 14:06 UTC (permalink / raw)
  To: Adam Porter; +Cc: emacs-orgmode

Adam Porter <adam@alphapapa.net> writes:

> Looking at Worg now, it occurred to me that, when my browser window is 
> maximized, there's plenty of room for the table of contents to remain 
> visible alongside the content.  But it's hidden automatically, and 
> remains hidden until the user interacts with it, which seems suboptimal 
> for an intra-page table of contents.
>
> Could we modify it to keep the ToC visible when the window is wide 
> enough?  I think that would be a big usability improvement.  WDYT?

The current TOC style is indeed not ideal.
See https://list.orgmode.org/orgmode/87mteh4d0b.fsf@localhost/
If you can work towards improving TOC in Worg, it would be welcome.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Worg] Keep table of contents visible in wide viewports?
  2024-03-23 13:57 [Worg] Keep table of contents visible in wide viewports? Adam Porter
  2024-03-23 14:06 ` Ihor Radchenko
@ 2024-05-13 11:11 ` Ihor Radchenko
  1 sibling, 0 replies; 3+ messages in thread
From: Ihor Radchenko @ 2024-05-13 11:11 UTC (permalink / raw)
  To: Adam Porter; +Cc: emacs-orgmode

Adam Porter <adam@alphapapa.net> writes:

> Looking at Worg now, it occurred to me that, when my browser window is 
> maximized, there's plenty of room for the table of contents to remain 
> visible alongside the content.  But it's hidden automatically, and 
> remains hidden until the user interacts with it, which seems suboptimal 
> for an intra-page table of contents.
>
> Could we modify it to keep the ToC visible when the window is wide 
> enough?  I think that would be a big usability improvement.  WDYT?

I tried

/* Show when screen is wide enough */
@media only screen and (min-width: 100em) {
 #table-of-contents #text-table-of-contents {
  display: block;}}

However, it looks distracting, IMHO. (I tried on https://orgmode.org/worg/org-tutorials/index.html)
If we want to display TOC all the time on wide screens, we should change
the TOC style to be more subtle. Creativity is needed.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-13 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-23 13:57 [Worg] Keep table of contents visible in wide viewports? Adam Porter
2024-03-23 14:06 ` Ihor Radchenko
2024-05-13 11:11 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.