From 6785a61fd02d0c2879fb71e7c72e29e91eed14c9 Mon Sep 17 00:00:00 2001 From: Bashar Jabbour Date: Thu, 2 Oct 2014 15:55:51 -0400 Subject: [PATCH 1/3] updated 404 page --- app/assets/images/.DS_Store | Bin 0 -> 6148 bytes public/404.html | 21 +++++++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) create mode 100644 app/assets/images/.DS_Store diff --git a/app/assets/images/.DS_Store b/app/assets/images/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0
-
From 499298613bea33c58e804ebefc7d45aae8225780 Mon Sep 17 00:00:00 2001 From: Bashar Jabbour Date: Thu, 2 Oct 2014 17:07:09 -0400 Subject: [PATCH 2/3] updated metacodes.yml and deleted metacode_backgrounds.css --- metacode_backgrounds.css | 120 ------------------------------------ test/fixtures/metacodes.yml | 41 +++++++++++- 2 files changed, 40 insertions(+), 121 deletions(-) delete mode 100644 metacode_backgrounds.css diff --git a/metacode_backgrounds.css b/metacode_backgrounds.css deleted file mode 100644 index adf69d4e..00000000 --- a/metacode_backgrounds.css +++ /dev/null @@ -1,120 +0,0 @@ -.mbgAction { - background-color: #bd6c85 !important; -} -.mbgActivity { - background-color: #6ebf65 !important; -} -.mbgArgument { - background-color: #7FAEFD !important; -} -.mbgBizarre { - background-color: #bdb25e !important; -} -.mbgCatalyst { - background-color: #EF8964 !important; -} -.mbgClosed { - background-color: #ABB49F !important; -} -.mbgCon { - background-color: #CF7C74 !important; -} -.mbgDecision { - background-color: #cca866 !important; -} -.mbgExample { - background-color: #598559 !important; -} -.mbgExperience { - background-color: #BE995F !important; -} -.mbgForesight { - background-color: #b0b0b0 !important; -} -.mbgFutureDev { - background-color: #25A17F !important; -} -.mbgGoodPractice { - background-color: #BD9E86 !important; -} -.mbgGroup { - background-color: #7076BC !important; -} -.mbgIdea { - background-color: #c4bc5e !important; -} -.mbgImplication { - background-color: #83DECA !important; -} -.mbgInsight { - background-color: #B074AD !important; -} -.mbgIntention { - background-color: #baeaff !important; -} -.mbgKnowledge { - background-color: #60acf7 !important; -} -.mbgList { - background-color: #B7A499 !important; -} -.mbgLocation { - background-color: #abd9a7 !important; -} -.mbgMovieMap { - background-color: #a5a0de !important; -} -.mbgNote { - background-color: #a389a1 !important; -} -.mbgOpenIssue { - background-color: #9bbf71 !important; -} -.mbgOpinion { - background-color: #54a19d !important; -} -.mbgOpportunity { - background-color: #889F64 !important; -} -.mbgPerson { - background-color: #de925f !important; -} -.mbgPlatform { - background-color: #21C8FE !important; -} -.mbgPro { - background-color: #89b879 !important; -} -.mbgProblem { - background-color: #99cfc4 !important; -} -.mbgQuestion { - background-color: #709899 !important; -} -.mbgReference { - background-color: #A7A7A7 !important; -} -.mbgRequirement { - background-color: #d2a7d4 !important; -} -.mbgResearch { - background-color: #CD8E89 !important; -} -.mbgResource { - background-color: #c98c63 !important; -} -.mbgRole { - background-color: #a8595d !important; -} -.mbgTask { - background-color: #2f89ba !important; -} -.mbgTool { - background-color: #828282 !important; -} -.mbgTrajectory { - background-color: #b3953d !important; -} -.mbgWildcard { - background-color: #73c7de !important; -} \ No newline at end of file diff --git a/test/fixtures/metacodes.yml b/test/fixtures/metacodes.yml index 230bef78..c1244d02 100644 --- a/test/fixtures/metacodes.yml +++ b/test/fixtures/metacodes.yml @@ -12,155 +12,194 @@ one: two: name: Activity icon: /assets/icons/activity.png + color: #6ebf65 three: name: Bizarre icon: /assets/icons/bizarre.png + color: #BDB25E four: name: Catalyst icon: /assets/icons/catalyst.png + color: #EF8964 five: name: Closed icon: /assets/icons/closed.png + color: #ABB49F six: name: Experience icon: /assets/icons/experience.png + color: #BE995F seven: name: Future Dev icon: /assets/icons/futuredev.png + color: #25A17F eight: name: Group icon: /assets/icons/group.png + color: #7076BC nine: name: Idea icon: /assets/icons/idea.png + color: #C4BC5E ten: name: Implication icon: /assets/icons/implication.png + color: #83DECA eleven: name: Insight icon: /assets/icons/insight.png + color: #B074AD twelve: name: Intention icon: /assets/icons/intention.png + color: #BAEAFF thirteen: name: Knowledge icon: /assets/icons/knowledge.png + color: #60ACF7 fourteen: name: Location icon: /assets/icons/location.png + color: #ABD9A7 fifteen: name: Open Issue icon: /assets/icons/openissue.png + color: #9BBF71 sixteen: name: Opinion icon: /assets/icons/opinion.png + color: #54A19D seventeen: name: Opportunity icon: /assets/icons/opportunity.png + color: #889F64 eighteen: name: Person icon: /assets/icons/person.png + color: #DE925F nineteen: name: Platform icon: /assets/icons/platform.png + color: #21C8FE twenty: name: Problem icon: /assets/icons/problem.png + color: #99CFC4 twenty-one: name: Question icon: /assets/icons/question.png + color: #709899 twenty-two: name: Reference icon: /assets/icons/reference.png + color: #A7A7A7 twenty-three: name: Requirement icon: /assets/icons/requirement.png + color: #D2A7D4 twenty-four: name: Resource - icon: /assets/icons/resource.png + icon: /assets/icons/resource.png + color: #C98C63 twenty-five: name: Role icon: /assets/icons/role.png + color: #A8595D twenty-six: name: Task icon: /assets/icons/task.png + color: #2F89BA twenty-seven: name: Tool icon: /assets/icons/tool.png + color: #828282 twenty-eight: name: Trajectory icon: /assets/icons/trajectory.png + color: #B3953D twenty-nine: name: Argument icon: /assets/icons/argument.png + color: #7FAEFD thirty: name: Con icon: /assets/icons/con_icon.png + color: #CF7C74 thirty-one: name: Decision icon: /assets/icons/decision.png + color: #CCA866 thirty-two: name: Example icon: /assets/icons/example.png + color: #598559 thirty-three: name: Foresight icon: /assets/icons/foresight.png + color: #B0B0B0 thirty-four: name: Good Practice icon: /assets/icons/goodpractice.png + color: #BD9E86 thirty-five: name: List icon: /assets/icons/list.png + color: #B7A499 thirty-six: name: Movie Map icon: /assets/icons/moviemap.png + color: #A5A0DE thirty-seven: name: Note icon: /assets/icons/note.png + color: #A389A1 thirty-eight: name: Pro icon: /assets/icons/pro.png + color: #89B879 thirty-nine: name: Research icon: /assets/icons/research.png + color: #CD8E89 forty: name: Wildcard icon: /assets/icons/wildcard.png + color: #73C7DE From cad8af2c1f82dec1ee426b571c61e726e410f9a7 Mon Sep 17 00:00:00 2001 From: Bashar Jabbour Date: Thu, 2 Oct 2014 22:33:28 -0400 Subject: [PATCH 3/3] updated the cheatsheet --- .gitignore | 2 + app/assets/stylesheets/application.css | 59 ++++++++++++++++++- app/views/shared/_cheatsheet.html.erb | 79 ++++++++++++++------------ 3 files changed, 102 insertions(+), 38 deletions(-) diff --git a/.gitignore b/.gitignore index cf3d59bc..cd683d45 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ db/*.sqlite3 # Ignore all logfiles and tempfiles. log/*.log tmp + +.DS_Store \ No newline at end of file diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 8eaea083..f7a3ba5a 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -2050,20 +2050,65 @@ float: left; } #cheatSheet .csItem { margin: 5px 0; - font-size: 15px; + font-size: 14px; line-height: 18px; + font-family: 'din-regular'; } + +#cheatSheet .csItem a { + color: #c04f4f; +} + #cheatSheet .csItem img { display: inline-block; - margin: 0 2px; + margin-bottom: 10px; } #cheatSheet .csTitle { + font-weight: bold; + } #cheatSheet .indented { margin-left: 15px; } +#zoomIn { + background: #424242 url(zoom_sprite.png) no-repeat; + width: 22px; + height: 22px; + display: inline-block; + background-position: -37px -5px; + border-radius: 2px; + margin: 0 4px; + position: relative; + top: 3px; +} + +#zoomOut { + background: #424242 url(zoom_sprite.png) no-repeat; + width: 22px; + height: 22px; + display: inline-block; + background-position: -37px -37px; + border-radius: 2px; + margin: 0 4px; + position: relative; + top: 3px; +} + +#centerMap { + background: #424242 url(extents_sprite.png) no-repeat; + width: 22px; + height: 22px; + display: inline-block; + background-position: -5px -5px; + border-radius: 2px; + margin: 0 4px; + position: relative; + top: 3px; + +} + #helpWrapper { background: none; border: none; @@ -2096,7 +2141,17 @@ float: left; } #quickReference ul { width: 150px; + text-transform: uppercase; + font-size: 14px; + line-height: 14px; + font-family: din-medium; + } + +#quickReference ul li { + padding-bottom: 16px; +} + #quickReference li.ui-state-active a { color: #00BCD4; } diff --git a/app/views/shared/_cheatsheet.html.erb b/app/views/shared/_cheatsheet.html.erb index 628e4c6b..b28bd146 100644 --- a/app/views/shared/_cheatsheet.html.erb +++ b/app/views/shared/_cheatsheet.html.erb @@ -14,7 +14,6 @@
-
Alt + click on topic icon: recenter topics around chosen topic
-
Right-click + 'center this topic': recenter topics around chosen topic
+
Recenter Topics around chosen Topic: Alt + click on the topic OR Right-click + 'center this topic'
+
@@ -37,83 +38,89 @@
Esc: Hides auto-suggestion results
Enter: create a new topic
Gear Icon: open up metacode settings
+
- Open topic card: double-click on topic icon + Open 'Topic' card: Double-click on topic icon
- Move topic card: click + drag on topic card metacode + Move 'Topic' card: Click and drag on topic card metacode
- Change/edit metacode: mouse over metacode icon, then click on solid colored bar + Change/edit metacode: Mouse over metacode icon, then click on solid colored bar
- Edit topic title, description, link: click on text in respective area + Edit Topic title, description, link: Click on text in respective area
- Save topic title, description, link: hit enter + Save Topic title, description, link: Hit enter
- Change topic permission: click on 'permission' icon (only for topic creator) + Change Topic permission: Click on 'Permission' icon (only for topic creator)
- Open topic view: click on icon within topic card bar + Open Topic view: Click on icon within topic card bar
- Close topic card: click on canvas + Close 'Topic' card: Click on canvas
- Open context menu: right-click on topic icon + Open 'Context Menu': Right-click on topic icon
*Hide/Remove/Delete topic within context menu
+ +
-
Right-click & drag from one topic to another: open create synapse prompt
+
Open 'Create Synapse' prompt: Right-click & drag from one topic to another
Enter: Create synapse
*You do not have to add a description
-
Right-click + drag from topic to open canvas: create new topic with synapse
+
Create new Topic with Synapse: Right-click + drag from topic to open canvas
Enter: Create topic
Enter: Create synapse
+ +
-
Open synapse card:double-click on synapse
-
Edit synapse description: click on current description text
-
Save synapse description: hit enter
-
Edit directionality: select appropriate arrow boxes
-
Change synapse permission: click on 'permission' icon (only for synapse creator)
-
Right-click on synapse: open context menu
+
Open 'Synapse' card: Double-click on Synapse
+
Edit Synapse description: Click on current description text
+
Save Synapse description: Hit enter
+
Edit directionality: Select appropriate arrow boxes
+
Change synapse permission: Click on 'permission' icon (only for synapse creator)
+
Open 'Context Menu': Right-click on Synapse
*Hide/Remove/Delete synapse within context menu
+ +
-
Click + drag: move around canvas
-
Scroll: zoom in/out
-
Refresh page: center map
+
Move around Canvas: Click and drag
+
Zoom in/out: Scroll OR click on
&
+
Center Map: Click
OR Refresh page
+ +
-
Click on topic icon: select/deselect topic
-
Click on synapse: select/deselect synapse
-
Shift + click: select multiple topics / synapses
-
Shift + click + drag on canvas: make selection box, select multiple topics
-
Click + drag on selected topic(s): move all selected topics & synapses
-
Right-click on selected topic(s): open context menu
+
Select/Deselect Topic: Click on topic icon
+
Select/Deselect Synapse: Click on synapse
+
Select multiple Topics/Synapses: Shift + click
+
Make Selection box, select multiple Topics: Shift + click + drag on Canvas
+
Move all selected Topics & Synapses: Click + drag on selected Topic(s)
+
Open 'Context Menu': Right-click on selected topic(s)
*Hide/Remove/Delete/Change permissions of multiple topics & synapses within context menu
-
Click on background: deselect all topics & synapses
-
Esc: deselect all topics & synapses
+
Deselect all topics & Synapses: Click on background or Esc
-
Ctrl + /: open search prompt
-
Esc: close search prompt
-
Type into the search prompt: search for topics, maps, & mappers
-
Click on search result: open in new tab
+
Open 'Search' prompt: Ctrl + /
+
Close 'Search' prompt: Esc
<% if controller_name == "maps" && action_name == "show" %> -
Click "+" on a topic result: add to current map
+
Add to current Map: Click "+" on a topic result
<% end %>
Search by metacode: type "[name of metacode]:", then your search query. i.e. idea:create...
Search for map: type "map:", then your search query. i.e. map:exploring...