mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-15 23:00:12 +01:00
Page:
Faster user interface and better tablet experience
Pages
1and1
Apache tips
Cloudmailin integration
Contributors
Debian 6.0 minimal setup
Debian 8 installation FR
Development tips and tricks
Discussing new gui for tracks 3
Faster user interface and better tablet experience
GTD on Tracks
Heroku
How to contribute
Install Tracks 2.0 on Ubuntu 11.04 minimal setup
Install Tracks 2.0 on Ubuntu 11.04 with lighttpd
Install Tracks 2.1 on Ubuntu 12.04
Install Tracks 2.3.0 on Ubuntu 14.04 LTS on AWS with SSL support
Install Tracks 2.5 on Ubuntu 20.10
Install Tracks 2.5.1 on Ubuntu 20.04 LTS on AWS with SSL support
Installing Tracks 2.2.2 on CentOS 6.5 Minimal x86_64
Installing tracks from git on gentoo (ebuild)
Installing tracks on openshift and using mailgun to email todos to tracks
Keyboard shortcuts
MySQL tips
OpenShift
Staannoe's Docker image
Testing
Tips and tricks
Tools
Tracks hosting
Tracks on Heroku
Uberspace
Ubuntu bundler broken due to ruby thor dependency explanation and workaround
Update already installed Tracks on Ubuntu 21.04
Upgrade from 2.4.2 to 2.5.1 on AWS Ubuntu 18.04 LTS
Upgrading rails
log files locations
No results
2
Faster user interface and better tablet experience
cfrankct edited this page 2012-04-19 08:11:48 -07:00
Faster user interface and better tablet experience
Rationale
The current (~R2.1) load times of the Tracks home page are quite long (4+ seconds with 80 - 120 actions), even after Reinier's pre-rendering and storing of action notes in the database. In addition the small buttons / handles for the drop down menu, edit menu and dragging of actions are hard to hit on tablets.
So the question is how can we improve the design and performance of the home page?
Proposal 1
Design points
- Eliminate hard to hit targets (edit icon, drag icon, dropdown menu icon), keeping only the 'completed' checkbox and the star
- Make the description of the todo (i.e., the large text) do something useful
- Eliminate the drop down menu, which takes up 40% of the server rendering time
Implementation
- Clicking the description opens the existing edit form
- The functions that were in the drop down menu reside in the edit form now
- The buttons in the edit form are on top, so if one just wants to defer an action the mouse / finger does not have to move all the way to the bottom of the form
- Dragging the description allows to drag the action into new contexts or make it a dependent action (as before with the drag icon)
Code
Small patch is attached to Ticket #1279
It applies cleanly against the 2.1 release branch as of 4/19/12. To try it in your environment do:
cd /var/www/tracks
patch -p1 --dry-run <~/faster_ui_patch_v2 | less # Confirm that it will apply
git status
git branch fast_ui # Try it in a branch
patch -p1 <~/faster_ui_patch_v2 | less # Apply the patch
rm public/stylesheets/tracks-cached.css # Don't forget this
service httpd restart # Or whatever you do if you're not using passenger
Issues
- Dragging todos does not work on tablets yet
- If inside a context the last action does not have a project or a note or a dependency then it will extend outside the container
- If we go this way there'll be some unused code that can be removed