yglin / spirit99-client Goto Github PK
View Code? Open in Web Editor NEWA web map application based on AngularJS and Google Map
Home Page: http://spirit99.s3-website-ap-northeast-1.amazonaws.com/
A web map application based on AngularJS and Google Map
Home Page: http://spirit99.s3-website-ap-northeast-1.amazonaws.com/
serverpane.js
ygInit.js
...etc.
Latest comment should be at the bottom
If server presents a "postViewUrl" in portal data, when user click marker to see post's detail, redirect user to this "postViewUrl" instead of rendering our own post-view dialog
Server can host their uploaded images if given "imageUploadUrl" in portal data
A follow-up button on the post view dialog.
Store followed up post and its number of comments in local storage.
Pormpt user with new comments of followed-up posts
Add 2 buttons for switching to previous/next map view area
According to the principle 1: Server declares most of its functionalities (What data it presents and what data it can handle) through portal data.
I think it's better let servers put commentUrl in their portal data.
Although HATEOAS is very good idea to me, I guess we can always apply it later when we want to extend this client for more complicated server.
Currently there is a blank block at the bottom of viewport, not pretty indeed.
User can specify startDate and endDate, and show posts whose created date is between these two dates.
Don't permanently delete posts, just hide them from the map
If supported by server, user will see thumbnails in markers' info-windows and in ListPosts items
As title
It loads same bunch of posts twice initially, don't know why.
Datepicker from [Angular Material][https://material.angularjs.org/latest/#/demo/material.components.input] doesn't fit into md-toolbar very well.
Now it's using regular angular input with type="date", hideous ...@@, must figure out some way to refine it.
Auto fill the new post's author with last submitted value in local storage.
Resolve address from coordinates in post editor and post view
After reconsider it, I think this will confuse user the next time they open the web page
Suddenly ngFittext is not working, don't know why.
Attach some tags for post
I need to re-design the local storage functionality of user preferences one day.
Kind of messed up this part of codes, and the problem of save/load date object, frustrated.
Do I really need the "real-time" storage update which is featured by ngStorage?
Or the alternative way is using angular-local-storage, and trying to dump some user controll variables to local storage only when user exits the web-page
Need a place(a page in sidenav or a dialog) to show what filter-conditions are currently active.
And to turn on/off them.
Add UI controls to connect 2 posts on map.
Draw a line between 2 connected posts
A sub-panel in the left-sidenav that shows user preferences or settings.
User can adjust settings or clear local storage data in this panel
Show some "Server invalid" message on server-list and on server-intro dialog
Sometimes they just want to change the location....?
Add a "Add Keyword" button to the right of search title input
Seems $mdDialog.hide() in ygprogress.js takes no effect after bower update.
Anyway I need another way, a fixed status info bar maybe, to show some progress status
The area which hold the hidden speed-dial tool buttons of headbar blocks a little part of map view.
Although it's transparent and you can still watch through it to see to the div underneath, but it blocks mouse controls.
There could be a way to push it back when the speed-dial is not triggered.
Scrolling in ListPosts side-view can be more smooth, and more quickly response to event of switching focused post.
Let user send error loggings back to server
For more than 6 icons in the icon set, open a dialog for user to do further controlling.
This dialog has 2 extra buttons for "Show All" and "Hide All"
Provide user with a button to show station-intro.
The button must be conspicuous for user is attempt to open it many times
Can not find some icons in post editor, could be icon objects in server's iconSet
Dynamically change color theme for each server, this depends on angular-material
After switch to a station with no soundSet in its portal data, the sound effects won't change back to default soundSet
If station name in url path, ex: www.s99.com/nuclear-waste, then select station nuclear-waste after page loaded
As title, instead of as currently as environment varaibles
Add "expiryDate" field to post, indicate the date when post expires and won't show on map.
User can specify expiryDate in post editor.
This field is optional, which means expired posts can be filterd out at server side, otherwise at client side
Published site on AWS S3 shows "Unlicensed Froala Editor" on froala editors.
Maybe FBI will come to me ... ?
I have to utilize the available space of head-bar more efficiently, so I'm considering combining the station title with status info area.
The way is: station icon is always visible, but if some status message of a process is going to show, hide the title and display the message on the title div.
Add toolbar in all froala editor.
After all, it's meaningless if given those tools but users can not spot them.
Support icon options specified by server.
Include options listed in document below
https://developers.google.com/maps/documentation/javascript/3.exp/reference#Icon
If server presents a "postEditUrl" in portal data, when users want to add post or update post, redirect them to this "postEditUrl"
Authors can add feedback buttons in their own posts.
They can give any words as the feedback button's text, such as "like", "it sucks", or "I'm in".
A feedback button corresponds to one row in the database table feedback
at server side.
The row will have fields as post_id
, action
(button text), count
, ...etc.
When a user clicks a feedback button the corresponding row data has its field "count" increment 1.
Need a new filter for users to browse their discarded posts
標題跟搜尋標題換成白色的微軟正黑體
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.