moustakas / legacyhalos-web Goto Github PK
View Code? Open in Web Editor NEWWebsite for the legacyhalos project(s).
License: MIT License
Website for the legacyhalos project(s).
License: MIT License
Form values in list.html stopped appearing as default value, and disappear when user clicks search, instead of remaining in search box. This functionality worked before pagination was added.
legacyhalos-web/legacyhalos_web/templates/list.html
Lines 19 to 37 in 9bcbdc9
Add functionality for user to have option to download their search result.
May wish to download as .fits file like UnWise site. Give option to do so instead of loading table to browser.
Currently in order to store the search results to a session, we serialize our queryset of objects using JSON then store to a session variable, which we configured to use the database, over cache or other options.
Setting session variable:
Serializing:
legacyhalos-web/legacyhalos_web/centrals/views.py
Lines 37 to 41 in 9bcbdc9
Loading from session variable:
Is this an efficient way to remember our query result to use it on individual central galaxy pages, in order to link to previous and next galaxy pages?
Is it better to store the session to cache, or to the database like we are currently?
Will this approach scale up once we have a larger data set?
load.py and models.py should both use same data model instead of both explicitly stating the fields to be stored.
In addition, model fields are using different names than the more readable names the user sees on the list.html table
Add option to sort by different properties shown in table, from filter page.
Currently Sorting done by redMapperID only.
Add functionality to site for a user to directly link to a centrals page without going through filter, using mem_match_id in url.
Currently using index of found result as the url parameter instead of id because of how we slice queryset from session.
legacyhalos-web/centrals/views.py
Lines 23 to 33 in 23876fd
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.