Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Add tasks to sidebar #23

Merged
merged 19 commits into from
Aug 30, 2016
Merged

Add tasks to sidebar #23

merged 19 commits into from
Aug 30, 2016

Conversation

Gum-Joe
Copy link
Owner

@Gum-Joe Gum-Joe commented Jul 23, 2016

This is the pull request to add tasks to the sidebar. See issue #14 for the checklist.

💄 Added tabs in sidebar (#14)
:lipstick: Created tabs components: Tabs (wrapper for it all),
TabsHeader (header to put tabs in), Tab (a single tab) and TabsBody (To
put a tab's body in). (client/base/components/tabs.jsx
:lipstick: Make body of sidebar scrollable, not the actual sidebar
:art: Start assigning id of notifications from 0 instead of 1
:art: Randomize number for body for a testing notification
:art: Put connection to socket.io outside the notifications component to
avoid duplicate notifications when switching tabs
:package: Updated links, moved babel-polyfill into dependencies and
moved babel-cli into devDependencies. (package.json)
@Gum-Joe Gum-Joe added this to the Final release (v1.0.0) milestone Jul 23, 2016
@Gum-Joe Gum-Joe self-assigned this Jul 23, 2016
@Gum-Joe Gum-Joe mentioned this pull request Jul 23, 2016
16 tasks
@coveralls
Copy link

coveralls commented Jul 23, 2016

Coverage Status

Coverage remained the same at 78.431% when pulling a668e84 on v1-add-tasks into 4f17213 on master.

🎨 Added tabs backend functions for creating, updating, ending and
cancelling tasks
@coveralls
Copy link

coveralls commented Jul 23, 2016

Coverage Status

Coverage decreased (-1.6%) to 76.798% when pulling 1d37325 on v1-add-tasks into 4f17213 on master.

💄 Added the tasks components (#14)
:art: Added actions, containers and reducers for tasks (#14)
:lipstick: Move header of notifications into its own component for use
with tasks area
:lipstick: Added tasks to tab 2's body
:lipstick: Set the background of a tab to the hover colour if it is
active
:lipstick: Created a dummy task for checking the design
:art: Added constants for tasks
:lipstick: Added tasks styling
:lipstick: Added animation to fade in percentage complete
:art: Rebuilt the bundle
:arrow_up: Installed immutable@^3.8.1
:arrow_up: Installed react-progressbar.js@^0.2.0
npm-check updates
:arrow_up: Installed connect-mongo@^1.3.1
:arrow_up: Installed request@^2.74.0
:arrow_up: Installed babel-cli@^6.11.4
:arrow_up: Installed babel-core@^6.11.4
:arrow_up: Installed eslint-plugin-import@^1.11.1
@coveralls
Copy link

coveralls commented Jul 23, 2016

Coverage Status

Coverage decreased (-1.6%) to 76.798% when pulling 1006c58 on v1-add-tasks into 4f17213 on master.

🎨 Added mapping of tasks to components (#14)
:art: Watch for events 'task:new' and 'task:update: on socket.io to know
when to update or create a new task
:art: Move back to using a normal array in the tasks reducer
:art: Added title field to tasks as there was not way to specify a title
:art: :ambulance: Fix a bug in app/util/schema where it testing for the
type of the prop in the schema, which was always a string (even if you
put 'number')
:art: Added updating of tasks to constants, reducers and an action for
it
:lipstick: Use a div to contain sidebar items that do not link to
anything
:lipstick: Allow overflow-y of tasks & make tasks sidebar have height:
100%
:shirt: Changed rule no-const-assign to being an error (eslint) and
disabled rule PlaceHolderInExtend (scss-lint)
@coveralls
Copy link

coveralls commented Jul 24, 2016

Coverage Status

Coverage decreased (-3.09%) to 75.342% when pulling fcf62f0 on v1-add-tasks into 4f17213 on master.

💄 Made notification also just a <div>
💄 Updated styles to reflect making notification a <div>
💄 Added cancellation of tasks (#14) + ability to link to other
parts of bedel (through react-router or not) on click
:lipstick: Updates navbar to make hamburger a non-linking item.
:lipstick: Change url prop -> href prop in SidebarItem
:lipstick: Added a modal to confirm whether or not you want to cancel
(auto-selects 'Yes')
:lipstick: Fix an issue where bootstrap theme was not being loaded in
sass.
:lipstick: Make body, h1, h2, h3, h4, h5, h6, p and div all
Open-Sans-Light with !important as fixing theme not being loaded changed
the fonts
:lipstick: Fixed navbar padding + height because of  fixing theme not
being loaded changing the navbar
:lipstick: Make sure sidebar items are never underlined link liks in all
states
:lipstick: Added a not-a-button mixin to remove background + border of
buttons
:art: Change state to status: 'Cancelling...' and percentage: 1 in tasks
reducer when CANCEL_TASK is received
:art: Updated defaults for tasks to add react prop (whether link is
react-router or not) (default: true) + hasCancelEvent (default: false)
@coveralls
Copy link

coveralls commented Jul 25, 2016

Coverage Status

Coverage decreased (-4.6%) to 73.789% when pulling 704cdfe on v1-add-tasks into 4f17213 on master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-4.6%) to 73.789% when pulling 704cdfe on v1-add-tasks into 4f17213 on master.

💄 Fixed the navbar. Now whole of the navbar shows up.
💄 Rewrote navbar dropdown styles
@coveralls
Copy link

coveralls commented Jul 25, 2016

Coverage Status

Coverage decreased (-4.6%) to 73.789% when pulling b21e7f1 on v1-add-tasks into 4f17213 on master.

💄 Fix sidebar hover issues
🎨 Store current tab in status reducer for sidebar
🎨 Use Object.assign() to update status
🎨 Button to open sidebar only set open to true
@coveralls
Copy link

coveralls commented Jul 26, 2016

Coverage Status

Coverage decreased (-4.6%) to 73.789% when pulling 5618847 on v1-add-tasks into 4f17213 on master.

💄 Added accent colour + used for hamburger + tasks trail colour
💄 Show a grey message that there are no notifications/tasks.
This message fades in. (#14)
:lipstick: Added fadeIn css animation to fade in an object
:art: Removed unused imports
:arrow_up: Installed sass-variable-loader@^0.0.4 for loading accent in
jsx
@coveralls
Copy link

coveralls commented Jul 26, 2016

Coverage Status

Coverage decreased (-4.6%) to 73.789% when pulling 4aa3eca on v1-add-tasks into 4f17213 on master.

💄 Moved sign out onto main navbar, not a dropdown
💄 Removed padding at the end of the navbar
@Gum-Joe Gum-Joe temporarily deployed to bedel July 26, 2016 10:55 Inactive
@coveralls
Copy link

coveralls commented Jul 26, 2016

Coverage Status

Coverage decreased (-4.6%) to 73.789% when pulling 6ede67a on v1-add-tasks into 4f17213 on master.

@Gum-Joe Gum-Joe temporarily deployed to bedel July 26, 2016 10:59 Inactive
@coveralls
Copy link

coveralls commented Jul 26, 2016

Coverage Status

Coverage decreased (-4.6%) to 73.789% when pulling e7f5bc1 on v1-add-tasks into 4f17213 on master.

📦 Dependency upgrades (with npm-check):
⬆️ Installed bootstrap@^3.3.7
@coveralls
Copy link

Coverage Status

Coverage decreased (-4.6%) to 73.789% when pulling c766f16 on v1-add-tasks into 4f17213 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Jul 29, 2016

Coverage Status

Coverage decreased (-4.6%) to 73.789% when pulling c766f16 on v1-add-tasks into 4f17213 on master.

💄 Added unread notifications counter (#14). NOTE: Should not
add unread if notifications bar is open, but it does. TODO.
:lipstick: Created UnreadCount component for showing a badge
(client/base/components/sidebar/unread.jsx)
:lipstick: Use opacity to change navbar items on hover
:art: Created reducer + actions + container for counter reducer for
counting unread task + notifications
:art: Rebuilt the bundle. Now includes bootstrap + font awesome +
hamburgers inside + fonts (loaded).
:art: Removed bootstrap (css + js), font awesome (css), hamburgers (css)
and socket.io-client (js) from views/index.ejs
:art: Added loaders for css, fonts (using url + file loader) and svg
(using file loader)
:package: Ignore build/ in nodemon
:arrow_up: Installed url-loader@^0.5.7
@coveralls
Copy link

coveralls commented Jul 30, 2016

Coverage Status

Coverage decreased (-4.7%) to 73.731% when pulling f175c63 on v1-add-tasks into 4f17213 on master.

💄 🎨 🚑 Finish adding unread notifications counter
by fixing a bug where counter would increment even though the sidebar
was open
@coveralls
Copy link

coveralls commented Aug 7, 2016

Coverage Status

Coverage decreased (-4.7%) to 73.731% when pulling 179c191 on v1-add-tasks into 4f17213 on master.

📖 Switch around some roadmap targets
🎨 💄 Rebuild bundle
🚑 Fix a bug with showing number of unread notifications
🎨 Rebuild bundle
🎨 Added notification storage in db
🎨 Assign ID for notifications on server side
🎨 Added webpack-dashboard
🎨 Added notifications + tasks model
🎨 Move adding to reducer to separate function
🎨 Added counter to notifications container
💄 Restyled notifications
💄 Added OpenSans-Bold to fonts list
📦 Use webpack-dashboard for nodemon
⬆️ Installed webpack-dashboard@^0.1.8
@coveralls
Copy link

Coverage Status

Coverage decreased (-7.4%) to 71.006% when pulling e98aee5 on v1-add-tasks into 4f17213 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Aug 27, 2016

Coverage Status

Coverage decreased (-7.4%) to 71.006% when pulling e98aee5 on v1-add-tasks into 4f17213 on master.

🚑 Fixed an issue with ids in the database, by sending all
notifications into socket.io on startup, so that the client does not
have to fetch them manulally, as well as a listing issues, by using a
promise to return the result of
Notifications.prototype.notificationIncludesId()
🚫 Removed Tasks model, as tasks do not have to be stored,
as socket.io keeps track of everything emmited
@Gum-Joe
Copy link
Owner Author

Gum-Joe commented Aug 30, 2016

All items have been checked off. Merging.
This closes #14

@coveralls
Copy link

coveralls commented Aug 30, 2016

Coverage Status

Coverage decreased (-8.0%) to 70.472% when pulling 4f22749 on v1-add-tasks into 4f17213 on master.

@Gum-Joe
Copy link
Owner Author

Gum-Joe commented Aug 30, 2016

Merging

@Gum-Joe Gum-Joe merged commit 9f81d32 into master Aug 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants