Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nodenogg-duplicate
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Adam Procter
nodenogg-duplicate
Commits
db571ffd
Commit
db571ffd
authored
5 years ago
by
Adam Procter
Browse files
Options
Downloads
Patches
Plain Diff
updated for history mode
fixed button on onboarding to stop Safari refresh
parent
33b7a0b0
Branches
historyMode
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/src/components/BaseButton.vue
+1
-1
1 addition, 1 deletion
app/src/components/BaseButton.vue
app/src/components/OnBoard.vue
+6
-6
6 additions, 6 deletions
app/src/components/OnBoard.vue
app/src/router/index.js
+1
-0
1 addition, 0 deletions
app/src/router/index.js
with
8 additions
and
7 deletions
app/src/components/BaseButton.vue
+
1
−
1
View file @
db571ffd
<
template
>
<div>
<!-- FIXME: Maybe need to use $attrs at somepoint -->
<button
v-on=
"$listeners"
class=
"button"
:class=
"buttonClass"
>
<button
v-on=
"$listeners"
class=
"button"
:class=
"buttonClass"
type=
"button"
>
<slot>
DEFAULT
</slot>
</button>
</div>
...
...
This diff is collapsed.
Click to expand it.
app/src/components/OnBoard.vue
+
6
−
6
View file @
db571ffd
...
...
@@ -4,7 +4,9 @@
nodenogg.in is a
<span>
work in progress
</span>
collaborative co-creation research and
design thinking tool, read more details and links in the
<a
href=
"/#/about"
>
about
</a>
section.
<a
href=
"/about"
>
about
</a>
section.
</p>
<form
v-show=
"parta"
>
...
...
@@ -25,9 +27,7 @@
autocapitalize=
"none"
autofocus
/>
<BaseButton
buttonClass=
"onboard"
@
click=
"createMicrocosm(), setFocus()"
>
+
</BaseButton
>
<BaseButton
buttonClass=
"onboard"
@
click=
"createMicrocosm(), setFocus()"
>
+
</BaseButton>
</form>
<form
v-show=
"partb"
>
...
...
@@ -82,8 +82,8 @@ export default {
methods
:
{
createMicrocosm
()
{
;(
this
.
partb
=
true
),
this
.
$store
.
dispatch
(
'
createMicrocosm
'
,
this
.
localmicrocosm
)
this
.
partb
=
true
this
.
$store
.
dispatch
(
'
createMicrocosm
'
,
this
.
localmicrocosm
)
localStorage
.
setItem
(
'
mylastMicrocosm
'
,
this
.
localmicrocosm
)
},
setClient
()
{
...
...
This diff is collapsed.
Click to expand it.
app/src/router/index.js
+
1
−
0
View file @
db571ffd
...
...
@@ -22,6 +22,7 @@ const routes = [
]
const
router
=
new
VueRouter
({
mode
:
'
history
'
,
routes
})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment