Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
a2e9bc35
Commit
a2e9bc35
authored
Oct 14, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete issue board welcome cookie when project is new
parent
4fd01518
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
app/assets/javascripts/boards/stores/boards_store.js.es6
app/assets/javascripts/boards/stores/boards_store.js.es6
+2
-1
app/controllers/projects_controller.rb
app/controllers/projects_controller.rb
+4
-1
No files found.
CHANGELOG.md
View file @
a2e9bc35
...
...
@@ -16,6 +16,7 @@ Please view this file on the master branch, on stable branches it's out of date.
-
API: Fix booleans not recognized as such when using the
`to_boolean`
helper
-
Removed delete branch tooltip !6954
-
Stop unauthorized users dragging on milestone page (blackst0ne)
-
Restore issue boards welcome message when a project is created !6899
-
Escape ref and path for relative links !6050 (winniehell)
-
Fixed link typo on /help/ui to Alerts section. !6915 (Sam Rose)
-
Fix filtering of milestones with quotes in title (airatshigapov)
...
...
app/assets/javascripts/boards/stores/boards_store.js.es6
View file @
a2e9bc35
...
...
@@ -63,7 +63,8 @@
this.removeList('blank');
Cookies.set('issue_board_welcome_hidden', 'true', {
expires: 365 * 10
expires: 365 * 10,
path: ''
});
},
welcomeIsHidden () {
...
...
app/controllers/projects_controller.rb
View file @
a2e9bc35
...
...
@@ -30,9 +30,12 @@ class ProjectsController < Projects::ApplicationController
@project
=
::
Projects
::
CreateService
.
new
(
current_user
,
project_params
).
execute
if
@project
.
saved?
cookies
[
:issue_board_welcome_hidden
]
=
{
path:
project_path
(
@project
),
value:
nil
,
expires:
Time
.
at
(
0
)
}
redirect_to
(
project_path
(
@project
),
notice:
"Project '
#{
@project
.
name
}
' was successfully created."
notice:
"Project '
#{
@project
.
name
}
' was successfully created."
,
flash:
{
new_project:
true
}
)
else
render
'new'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment