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

Onboarding #570

Merged
merged 19 commits into from
Jul 20, 2017
Merged

Onboarding #570

merged 19 commits into from
Jul 20, 2017

Conversation

rmisio
Copy link
Contributor

@rmisio rmisio commented Jul 17, 2017

closes #510

@rmisio rmisio changed the title Onboarding Onboarding [WIP] Jul 17, 2017
@rmisio rmisio changed the title Onboarding [WIP] Onboarding Jul 18, 2017
@rmisio
Copy link
Contributor Author

rmisio commented Jul 18, 2017

@jjeffryes this is ready to review when you're ready.

Copy link
Contributor

@jjeffryes jjeffryes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just some layout comments.

@@ -80,6 +81,14 @@ export default class extends BaseModel {
addError('vendor', `The vendor value is not a boolean: ${attrs.vendor}`);
}

if (typeof attrs.shortDescription !== 'string') {
addError('shortDescription', 'The shortDescription must be provided as a string.');
} else if (attrs.shortDescriptio > this.max.shortDescriptionLength) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you left the "n" off of attrs.shortDescription here.

js/start.js Outdated
}, 300);
}).on('click-manageConnections', () =>
app.connectionManagmentModal.open())
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this have the {} and the extra space/lines removed, so it's just new Onboarding()?

<div class="flexCent">
<div>
<div class="txCtr rowSm">
<span class="txUp txB clrT2"><%= ob.polyT('onboarding.introScreen.introLine') %></span><i class="btcIcon margRTn"></i>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be a space between the text and the bitcoin icon.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I gave it some space via CSS since adding in an actual space gives it more space than what the design reflects (haven't pushed yet).

"introScreen": {
"connectionLbl": "Connection:",
"btnChange": "Change",
"introLine": "A free marketplace. No fees. No restrictions. Earn Bitcoin",
Copy link
Contributor

@jjeffryes jjeffryes Jul 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Earn Bitcoin should have a period at the end like the other phrases, unless we switch the periods to colons or bullets.

I'd prefer bullets, since that's more grammatically correct. Thoughts, @morebrownies ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just matching the design on that one. If the design change, I imagine @morebrownies could polish this up.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah we should add a period at the end of "Earn Bitcoin". I missed that one.


.select2 {
// without this the select2 dropdowns exceed the width of the form on re-render
width: 375px !important;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it with this property turned off, and the select2 elements always set themselves to the right width?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Initially it was the right width, but then if I clicked next and back, it would be the wrong with. But... I can't seem to reproduce that anymore. I updated the CSS.

Copy link
Contributor

@jjeffryes jjeffryes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just need to take out the debug code.

js/start.js Outdated
@@ -394,7 +334,7 @@ const onboardIfNeededDeferred = $.Deferred();

function onboardIfNeeded() {
isOnboardingNeeded().done((onboardingNeeded) => {
if (onboardingNeeded) {
if (onboardingNeeded || true) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to remove the debugging code.

@jjeffryes jjeffryes merged commit 646e7ee into master Jul 20, 2017
@jjeffryes jjeffryes deleted the onboarding branch July 20, 2017 19:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Onboarding
3 participants