Tom Hughes
899dab08f9
Cancel any existing object load before starting a new one
2013-04-27 11:15:32 +01:00
Tom Hughes
b1308a87be
Show OSM objects for Nominatim search results as map overlays
2013-04-26 00:39:26 +01:00
Tom Hughes
47a75be1c7
Use the correct longitude for links when browsing changesets
2013-04-25 17:27:01 +01:00
Tom Hughes
979822f697
Add a "Hide" button to notes when viewed by moderators
2013-04-08 22:32:20 +01:00
Tom Hughes
0a4b860480
Focus on the text field when a note is opened
2013-03-28 15:12:53 +00:00
Tom Hughes
d00994d151
Fix display of updates on newly loaded notes
2013-03-28 14:43:07 +00:00
Tom Hughes
84f7d322d0
Don't try and use OAuth if we don't have a token
2013-03-28 14:29:38 +00:00
Tom Hughes
00a4d9fe49
Tidy up javascript OAuth code
2013-03-28 11:18:58 +00:00
Tom Hughes
898cc828dd
Merge branch 'master' into notes
...
Conflicts:
Gemfile.lock
2013-03-28 00:36:07 +00:00
Tom Hughes
38255f9f8d
Use OAuth for notes API calls and require authentication to close
2013-03-28 00:34:23 +00:00
Tom Hughes
e8d32637c1
Add javascript OAuth support
2013-03-28 00:34:09 +00:00
Tom Hughes
456d41e189
Remove use of jQuery toggle() function
2013-02-12 10:31:38 +00:00
Tom Hughes
34f823a30e
Clear the note cache when the note layer is turned off
2013-02-12 10:01:25 +00:00
Tom Hughes
a5ca0f48c1
Stop newly added notes disappearing
2013-02-05 19:03:13 +00:00
Tom Hughes
9f025130fd
Change "Close" button to "Resolve" in notes popup
2013-02-05 18:56:59 +00:00
Tom Hughes
d92ca41cae
Avoid javascript warning
2013-02-05 17:32:44 +00:00
Tom Hughes
51dcf86f40
Remove the "new note" marker when the user clicks somewhere else
2013-02-05 00:30:58 +00:00
Tom Hughes
b97fe91bba
Disable "Add Note" button when there is no text
2013-02-03 18:03:25 +00:00
Tom Hughes
97b21e5fb1
Enable the "add note" link after a new note is created
2013-02-03 17:58:37 +00:00
Tom Hughes
a51509c668
Add link to show a note on the map to the note browser page
2013-02-03 17:44:05 +00:00
Tom Hughes
104f554008
Make titles in note popups link to the note
2013-02-03 16:50:59 +00:00
Tom Hughes
4b324f5896
Allow a note=N parameter in the URL to zoom to and open a note
2013-02-03 16:47:30 +00:00
Tom Hughes
2da3b85a7a
Disable the "add note" link while a note is being added
2013-02-03 16:18:06 +00:00
Tom Hughes
40b3c828e7
Avoid making the map scroll when adding a new note
2013-02-03 16:07:47 +00:00
Tom Hughes
ae48206d2c
Move the note popups up slightly
...
The default position makes it hard to grab the marker and move it
when adding a note, so move themm up a few pixels.
2013-02-03 13:04:14 +00:00
Tom Hughes
5ad45549e1
Add anonymous comment warning to note popup
2013-02-02 16:18:35 +00:00
Tom Hughes
0b993e5ce0
Tweak sizing of note popups
2013-02-02 12:21:53 +00:00
Tom Hughes
e957aaacb6
Localise dates and times in notes popups
2013-02-02 12:11:46 +00:00
Tom Hughes
db5c58ed09
Improve comment descriptions in note popups
2013-02-02 11:40:28 +00:00
Tom Hughes
56db9ca2b7
Merge branch 'master' into notes
2013-02-02 11:00:46 +00:00
Tom Hughes
a4b5485405
Compute size of rich text preview pane correctly
2013-01-24 14:29:27 +00:00
Tom Hughes
f612f573f9
Wrap longitude values explicitly
...
Leaflet 0.5 no longer wraps longitude values, so we need to do it.
2013-01-22 22:29:50 +00:00
Tom Hughes
e9cb282712
Make maximising work properly again in Potlatch
2013-01-19 11:29:12 +00:00
Tom Hughes
843051c1b2
Detach the permalink from the DOM so only one copy is shown
2013-01-18 13:50:37 +00:00
Tom Hughes
6bde69a840
Update to Leaflet 0.5
2013-01-17 17:44:10 +00:00
Tom Hughes
8cd6168b48
Set width of comment entry area in note popups
2013-01-15 21:42:43 +00:00
Tom Hughes
3d7eb387a7
Merge branch 'master' into notes
...
Conflicts:
Gemfile.lock
app/assets/stylesheets/common.css.scss
app/views/browse/_map.html.erb
app/views/user/view.html.erb
config/locales/en.yml
2013-01-15 21:11:35 +00:00
Saman Bemel-Benrud
a36f3558dd
Site cleanup
...
I set out to do a quick and dirty typography overhaul to make things
more consistent and a bit cleaner, but I kept running into things I
didn't like, so this lead me down something of a rabbit hole of design
tweaks to the OSM site.
Goals here are to have better content hierarchy, better vertical
rhythm, more consistent UI, cleaner markup with less tables, all while
keeping the basics pretty much intact. There are a lot of things I
didn't touch even though they need to be updated (lots of tables where
stuff shouldn't be tables, mostly).
Basic overview of changes:
I added a new persistent header that helps segment pages. It's now
a lot easier to know what you're looking at. The header has a page
title, a description, plus a submenu of actions.
There is now a pattern of 20px/10px margins and padding for more
rhythm and breathing room throughout the site.
I know there are other problems here or things I've missed - would
love another set of eyes to look over this! I am still getting comfortable
working on the site - it's my first time ever digging into a ruby or rails
so I'm not familiar with the templating language yet.
2013-01-14 21:27:08 +00:00
Paweł Paprota
bdc536d126
Autofocus the search field on the index page
2012-12-13 19:16:41 +00:00
Tom Hughes
ee530d8111
Don't try and add a note when the control is disabled
2012-12-04 14:31:08 +00:00
Tom Hughes
c533fb4b74
Display formatted notes in the web UI
2012-12-03 14:50:55 +00:00
Tom Hughes
dbc523bf34
Link user names to their pages
2012-12-03 14:50:54 +00:00
Tom Hughes
ba5107ebb5
Remove the author_name field from notes
2012-12-03 14:50:54 +00:00
Tom Hughes
7ec003dd01
Abort any existing load before starting a new one
2012-12-02 15:04:19 +00:00
Tom Hughes
7f89545b2c
Police the MAX_NOTE_REQUEST_AREA limit on the client
2012-12-02 14:55:56 +00:00
Tom Hughes
146e9877e5
Make sure popups don't overlay controls or the top bar
2012-12-02 14:14:17 +00:00
Tom Hughes
98475075c7
Add a scrollbar when a note gets too big
2012-12-02 14:14:16 +00:00
Tom Hughes
de78176e04
Rework notes UI using leaflet
2012-12-02 14:13:54 +00:00
Tom Hughes
78f608b114
Merge branch 'master' into notes
...
Conflicts:
app/assets/javascripts/browse.js
app/assets/javascripts/map.js.erb
app/assets/stylesheets/common.css.scss
app/views/site/index.html.erb
2012-12-01 18:22:30 +00:00
John Firebaugh
394dcd7316
Avoid multiple click bindings on data layer
2012-11-29 18:31:17 +00:00