This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#225 closed defect (fixed)

Replace json-rpc calls for material item types with static dictionary

Reported by: pferreir Owned by: pferreir
Priority: normal Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

For some obscure reason, we are making a json-rpc call for each one of the icon types in the material editor. I believe that at the time there was still no vars.js, and it was left like this, waiting for a performance-friendly solution.
The best solution IMHO would be to create a static dict with a filetype->image mapping.

Change History (6)

comment:1 Changed 6 years ago by jose.pedro.ferreira@…

  • Resolution set to fixed
  • Status changed from new to closed

commit 09799a733424e38e31a0ed8058f94e0b1934b3d3
Author: Pedro Ferreira <jose.pedro.ferreira@…>
Date: Fri Feb 26 16:12:45 2010 +0100

[FIX] Material icons from static dictionary


  • Instead of making and AJAX request;
  • fixes #225

comment:2 Changed 6 years ago by pferreir

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:3 Changed 6 years ago by pferreir

  • Owner set to pferreir
  • Status changed from reopened to assigned

comment:4 Changed 6 years ago by pferreir

  • Status changed from assigned to accepted

comment:5 Changed 6 years ago by pferreir

  • Resolution set to fixed
  • Status changed from accepted to closed

comment:6 Changed 5 years ago by Pedro Ferreira <jose.pedro.ferreira@…>

In [09799a733424e38e31a0ed8058f94e0b1934b3d3]:

[FIX] Material icons from static dictionary

  • Instead of making and AJAX request;
  • fixes #225
Note: See TracTickets for help on using tickets.