Commit graph

83 commits

Author SHA1 Message Date
Devin Howard
c9d664336e simplify Attachments props 2017-02-25 14:37:02 -08:00
Devin Howard
ea3ca086d4 fix topic card title character counter 2017-02-25 14:37:02 -08:00
Devin Howard
704a22bf0e factor out #metacodeOptions into one react component with a callback :D:D:D 2017-02-25 14:37:02 -08:00
Devin Howard
7819c7fe3a more portable metacode selector component 2017-02-25 14:37:02 -08:00
Connor Turland
2d4ecf7cc1 finishing metacode select 2017-02-25 14:37:02 -08:00
Devin Howard
b9b522eebb add the html in react whoop 2017-02-25 14:37:02 -08:00
Devin Howard
bda92e03f2 convert metacode sets to a json object for react 2017-02-25 14:37:02 -08:00
Devin Howard
77ceac1ee1 reuse authorizedToEdit 2017-02-25 14:37:02 -08:00
Devin Howard
5d3f26edf8 eslint 2017-02-25 14:37:02 -08:00
Devin Howard
43016f9de6 remove the removed link card manually with jquery 2017-02-25 14:37:02 -08:00
Devin Howard
9f29a24321 fix embedly 2017-02-25 14:37:02 -08:00
Devin Howard
ad26a7fb2b prevent editing on desc/title if not authorized to edit 2017-02-25 14:37:02 -08:00
Devin Howard
5c8e9f41bf fixes 2017-02-25 14:37:02 -08:00
Connor Turland
8e23a0f1bd move metacode and permissions into subcomponents 2017-02-25 14:37:02 -08:00
Devin Howard
c33c60d118 fix metacode selection 2017-02-25 14:37:02 -08:00
Devin Howard
51b80b994a move listeners into Links.js 2017-02-25 14:37:02 -08:00
Devin Howard
ff16d14f59 attachments split out, but it's pretty buggy 2017-02-25 14:37:02 -08:00
Devin Howard
88a971de77 shift enter is linebreak, enter is save 2017-02-25 14:37:02 -08:00
Devin Howard
6338d78a28 create working Desc editor 2017-02-25 14:37:02 -08:00
Devin Howard
7c31876cb1 factor out Title and Links from Topic Card component, but not the listeners 2017-02-25 14:37:02 -08:00
Devin Howard
5a706e1e9d riek submit on enter 2017-02-25 14:37:02 -08:00
Devin Howard
afcd145fad riek editing for name field on topic card 2017-02-25 14:37:02 -08:00
Devin Howard
19e775bca0 metacode selector in react topic card 2017-02-25 14:37:02 -08:00
Devin Howard
35f5a7a7c2 metacode image working a bit better 2017-02-25 14:37:02 -08:00
Devin Howard
fa283ea484 scssify a bunch 2017-02-25 14:37:02 -08:00
Devin Howard
b9e95355e3 links bar 2017-02-25 14:37:02 -08:00
Connor Turland
aa84ce812f its coming along 2017-02-25 14:37:02 -08:00
Devin Howard
47d0faadf2 prevent double prompt on file drop import 2017-02-25 13:04:00 -08:00
Connor Turland
013e3c7f21 follows for maps in the ui for internal testing only still (#1072)
* follows for maps in the ui for testers

* require user for these actions

* match how map follow works
2017-02-15 23:01:53 -05:00
Connor Turland
2d0d0403b1 little fixes for deploy 2017-02-11 19:50:59 +00:00
Connor Turland
a647d80efa third try to fix this little bug 2017-02-10 12:02:05 -05:00
Connor Turland
559ad230ce actually this fixes it 2017-02-10 11:52:58 -05:00
Connor Turland
26dfcbf823 edge case where realtime server is passing empty object 2017-02-10 11:45:05 -05:00
Devin Howard
af2c6ebef1 split screenshot function/button into two parts (#1027)
* split screenshot function into 4 separate helpers

* screenshot download button in import dialog box

* thumbnail button inside map info box

* import blue button styling

* fight with styling to make the button at least appear

* add more text

* fix tooltip display

* automatically start downloading the screenshot

* eslint

* revamp GlobalUI.notifyUser

* fix object destructuring syntax

* fix
2017-01-19 14:50:08 -05:00
Devin Howard
42d671c05b stop replacing shortcodes/emoticon in the live NewMessage textarea (#1026) 2017-01-11 13:56:44 -05:00
Devin Howard
08109ee5de remove instructions from ImportDialogBox (#1022)
* remove instructions from ImportDialogBox

* link back to docs.metamaps.cc for import instructions
2017-01-11 13:50:37 -05:00
Connor Turland
0952c0f3c9 Bug/name.overflow (#1025)
* creator name was pushing 'view only' off card

* Update MapCard.js
2017-01-11 13:36:07 -05:00
Devin Howard
25b4d388de eslint commands and apply some style fixes (#1021)
* auto eslint and add commands for eslint

* eslint the entire frontend folder
2017-01-11 12:52:34 -05:00
Devin Howard
e9e6b1dc09 tweak chat emoji (#1019) 2017-01-09 14:55:21 -05:00
Devin Howard
cb95e027c4 Add emoji to chat (#1013)
* add emoji picker unstyled

* rename junto.css.erb => junto.scss.erb

* junto scss-ified

* add emoji mart css

* emoji are replaced in the text area

* remove unicode emoji from messages before sending to db

* add emoji back into messages on display

* bigger font size on chat messages

* tweak styling

* codeclimate (eslint)
2017-01-09 13:14:20 -05:00
Connor Turland
8e50efb3c1 render messages nicer 2017-01-04 18:12:07 -05:00
Connor Turland
73e8f2d4c8 re-implement chat in react (#997)
* hidously mangle ChatView to start moving it to React

* fix up Realtime/index.js - should be good now?

* in theory this should compile

* ok the MapChat renders using react...

* move Handlers code into react - woot

* try reintegrating backbone

* fix wrapper styling

* chat box opens and closes properly

* make the unread count work

* organize more sanely

* refactor some of the ChatView functions

* removed management of chatview from room

* css can stop handling logic right about now

* makin things work

* don't need room here anymore

* set raw html in message

* make pending work

* removeParticipant when mapper left was broken

* re-enable scrolling, focus, and blur
2016-12-21 03:56:29 -05:00
Connor Turland
2d920cf66a add maps links to nav locations 2016-12-16 16:25:13 -05:00
Connor Turland
6d8392d2e7 Make mailboxer look good and update email templates 2016-12-16 16:24:01 -05:00
Devin Howard
0960159265 Mailboxer notification pagination 2016-12-16 16:23:49 -05:00
Devin Howard
9debcdde39 Integrate rails mailers with mailboxer 2016-12-16 16:23:17 -05:00
Robert Best
b4ad51e69d reactify notification icon 2016-12-16 16:21:40 -05:00
Devin Howard
a176cdf231 eslint frontend folder (#923) 2016-11-07 15:25:08 -05:00
Connor Turland
96d25cc91d mapper profile mobile styling 2016-10-24 14:23:05 +00:00
Connor Turland
4c68fd90ca set useful num for desc truncation on map cards 2016-10-23 16:30:54 -04:00