Edgewall Software
Modify

Opened 2 months ago

Closed 2 months ago

Last modified 2 months ago

#13864 closed enhancement (fixed)

Too many requrests from Syntax highlighting panel in user preferences

Reported by: Jun Omae Owned by: Jun Omae
Priority: normal Milestone: 1.6.1
Component: general Version: 1.6
Severity: normal Keywords:
Cc: Branch:
Release Notes:

Use the inline style element in prefs/pygments panel in order to prevent many requests on page load.

API Changes:
Internal Changes:

Description

In Pygments 2.19.1, 49 themes are available. Visiting Syntax highlighting panel in user preferences, 49 requests will be sent to the server at one time, because <link rel="stylesheet"> element is added for each theme.

To prevent many requests, we could render an inline style element for the themes rather than the link elements.

Attachments (0)

Change History (3)

comment:1 by Jun Omae, 2 months ago

Last edited 2 months ago by Jun Omae (previous) (diff)

comment:2 by Jun Omae, 2 months ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

Fixed in [17878] and merged in [17879].

comment:3 by Jun Omae, 2 months ago

Ouch. After [17878], it is unable to save not-configured in syntax highlighting of user preferences. As the results, functional tests has 1 failure.

Fixed in [17881] and merge in [17882].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.