gardenofwine / open-knesset-mobile Goto Github PK
View Code? Open in Web Editor NEWMobile version of Open Knesset
Home Page: http://www.oknesset.org
Mobile version of Open Knesset
Home Page: http://www.oknesset.org
Revise the ANT build script so when building for production, it will concatenate and minimize all the css files. (js files are already concatenated and minimized)
There is an 'email’ icon in the app’s navigation bar that was built in order to entice users to email feedback to the application developers.
Unfortunately several users thought they were mailing the knesset member herself... Therefor the design of the feedback mechanism within the application should reflect it is doing exactly that.
Enable user creation and account login from the application -
to allow the user to follow bills, members; Also, allow users to tag, and comment.
the committee page would contain:
committee memebers
committee schedule
protocols..
Display age, gender, city, etc`...
All information possible.
Tzipi livni is no longer a member of party KAdima (id==6) but the application does not update.
The web version of the application (the one from the time the iOS app was submitted to the app store) Does manage to update..
I think debugging this bugger would be difficult. perhaps it has to do with local storage? or characters that iOS can’t handle?
I don’t know if this happens in Android as well.
The createInitialData script is located here:
http://oknesset-mobile.appspot.com/static/js/mobile/createInitialData.js
in a github fork of
https://github.com/ofri/Open-Knesset
made available via DryDrop and Google App Engine hosting.
Allow browsing party members one at a time.
The phone number and email address of the members are available from the oknesset.org api.
When updating data from the internet (form oknesset.org) there is no indication (a rotating busy indicator) that data is being downloaded.
For some members, those who are members of a lot of committees, the textarea displaying the committee names is too small for the text displayed.
The solution may be part of a different task, of redesigning the application UI.
The committee schedule is NOT currently displayed in Open Knesset website, but can be found here:
http://www.knesset.gov.il/agenda/heb/committeesbydate.asp
Probably this task is a joint venture between the website and the application. The committee schedule should be available in the application; The panel displaying the schedule should be able to link to the committee screen (that currently does not exist).
In all panels of the application - color the members in a list by coalition/oposition afiiliation.
In the Bill List panel, in case a Member has no bills, There is no text indication that states clearly that the Member that don’t have any Bills. It looks like there is a bug in the system.
For instance,
אבישי ברוורמן
index.html#Member/Index/797
The panel should display the text
hasNoBillsTitle : "אין הצעות חוק פרטיות שעברו קריאה טרומית",
This is the code that used to handle this situation (The code is now deprecated):
/*OKnesset.app.views.MemberView.BillsTitle = new Ext.extend(Ext.Panel, {
id: 'MemberBillsTitle’,
layout: 'fit’,
dock: 'bottom’,
// some sencha touch magic to decide the title
tpl: '
The member images are stored locally with the applicaiton bundle, and currently there is no mechanism of displaying images of new members (For example, Eli Aflalo quit the knesset, and Avi Dahn replaced him).
יש למצוא דרך להראות את את כל חברי הכנסת של רשימה, ללא קשר למי כרגע מכהן.
Currently, the Agenda data is located in the AgendaData.js.jpg file.
This more of a design issue.
The longer member names (like בנימין (פואד) בן אליעזר) are cut and not displayed correctly in the member screen.
Teh solution may be part of a bigger task, to re-design the application.
Currently the member images are static, and bundled with the application.
Some mechanism should be introduced, that will enable downloading the a new image of the member, and displaying it (that way the application will continue to function offline with the updated images).
lobbyists activity does not appear in oknesset.org.
The data exists here:
http://www.knesset.gov.il/lobbyist/heb/lobbyist.aspx
IT may be interesting to show this info in the application.
From a user’s description:
דגם האסוס: asus eee pad transformer tf101
הבעיה היא שאני מצליח לראות את כל חברי הכנסת אבל כשאני לוחץ על ח"כ הפרופיל שלו לא נפתח (אבל הוא מסומן בכחול). כמובן שאין תמונה ואין מידע כלל.
The vote api displays the recent votes
http://www.oknesset.org/api/vote/
For this, a Vote screen would have to be built.(A vote screen would display alink to the bill voted upon, a list of those voting for, and a list of those voting against, date of vote, stage, related bill)
This web page displays information about contributions made to members and parties:
http://primaries.publish.mevaker.gov.il/index.aspx?
It would be nice to display this info in the application
Allow searching members by name, and not only by browsing through the application..
perhaps a link to a wiki page
In the oknesset.org website, exists information bout memeber attendance in committees:
http://www.oknesset.org/member/805/?page=5
it would be nice to present this info in the application
USe Sencha-touch’s built in scss engine to remove unused code form sencha touch css.
Currently bills are only presented in the member screen, and only private bills.
A different screen for bills should be constructed, and a convenient way to search the bills
Open Knesset site shows youtube videos of members:
http://www.oknesset.org/member/194/
the mobile application can show those as well
The Bill panel today is just a list, and the title of the panel is the name of the member who proposed the bills.
The List should have a header that explains which bills the list displays.
The Member panel should display the what the member has voted and in which votings.
For iOS 5.1, the localStorage can be deleted by the OS at amy time.
When that happens the application would default back to the offline data it was shipped with, which is old.
PhoneGap 1.6.1 found a way to persist the data.
A User reported a behavior in which after approving to open the bill in the browser nothing would happen.
Currently the file createInitialData.js sorts the members within each party by a manually created sorting array.
The array was created manually by copying the names in order from this website:http://www.knesset.gov.il/elections18/heb/list/. However, the names of the members in the list are not 100% equal to the names of the members in the open knesset (and knesset.gov.il) website : http://www.oknesset.org/member/. Therrefor, the names have to be modified manually to match.
The better solution of the unmatchin names is to use regex and a best-match algorithm to do the sorting, of course.
Also possible to sort by age, gender, zodiac sign, etc`...
The application currently WORKS on iPad and Android tablets, but the interface is optimized for iPhone and android phones.
A design should be made for Tablets, and the application should decide which UI to present in runtime according to the device dimensions.
The main screen of the application should show useful and relevant information.
For example, recent user comments, recent bills, recent action by knesset members, etc`...
Member bill data is not available in the application today. It should be fetched via:
http://www.oknesset.org/api/v2/bill/?proposer=812&format=json
According to Adam K:
2&3) See this: http://developer.android.com/guide/appendix/install-location.html
I don’t think you need the permission (as the OS writes to the SD, not the app).
In some Android devices such as Galaxy Nexus, touching the member name in the party panel does nothing.
The party chairman should be highlighted in the party list view.
Add the party platform data
מצע
To the party page. The party page should be modified so that it has a button - "Platform" - that sends the user to a new page in the application, displaying that party’s platform.
Party platforms can be found here:
http://www.idi.org.il/elections_and_parties/Pages/elections_and_parties_main.aspx
Currently the build script is pretty much held up with chewing gum and should be re factored:
Try loading the application for a specific member (with id 810) by launching this url:
index.html#Member/Index/810
The console spews errors. In order to allow the application to launch for a specific member of party, these errors must be fixed.
A user request - to add the different party manifestos (מצע) somewhere in the application (user request).
The 18th knesset does not have the manifestos listed nicely like the 17th knesset:
http://www.knesset.gov.il/elections17/heb/list/ListIndex.asp
http://www.knesset.gov.il/elections18/heb/list/ListMenu.aspx
so it might be a manual job to get the manifesto data.
currently, bill info is opened in the browser, and the page is not customized for mobile devices.
When version 2.0 is released, upgrade.
See here:
http://www.sencha.com/products/touch/download/
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.