webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

Ability to click out of help tutorial

Open rpalmite opened this issue 6 years ago β€’ 40 comments

This is:

  • Bug
  • Suggestion

Expected Behavior

When clicking outside of the mini-tutorial I expect it to disappear.

Actual Behavior

You must click "I'm Ready" button at end of tutorial to continue editing your content.

Steps to Reproduce the Problem

  1. Inside page editor
  2. Click help (?) from bottom of left hand navigation menu
  3. Up pops a useful tutorial on editing a page
  4. Click "i'm ready" button is the only way out of this tutorial

Detailed Description

image

rpalmite avatar Jan 20 '20 09:01 rpalmite

Currently you can Esc out of it. Maybe we could enable the hide on click @SvenAlHamad ?

Pavel910 avatar Jan 20 '20 09:01 Pavel910

Sounds good ... I would also encourage a contribution on this issue. It's a question of adding a simple onClick={closeDialog} attribute on the Overlay component.

This is the reference: https://github.com/webiny/webiny-js/blob/master/packages/app-page-builder/src/editor/plugins/toolbar/onboarding/Onboarding.js#L94

SvenAlHamad avatar Jan 20 '20 14:01 SvenAlHamad

Hey, I'd like to take this on. This would be my first contribution on Webiny.

Andrei199991 avatar Jan 24 '20 15:01 Andrei199991

Brilliant! To get started make sure to check the contribution doc: https://github.com/webiny/webiny-js/blob/master/CONTRIBUTING.md

For any other questions, just give me a ping here.

SvenAlHamad avatar Jan 24 '20 15:01 SvenAlHamad

Yep, I'm currently working on launching the project locally. I'm not sure whether I'll particularly need an AWS account for this PR.

Andrei199991 avatar Jan 24 '20 15:01 Andrei199991

Your guys' promptness is amazing.

Andrei199991 avatar Jan 24 '20 15:01 Andrei199991

We try our best :)

In regards to AWS, you’ll still need an account to even run Webiny locally, as the API, even in development mode needs to be deployed into the cloud because of all other services it’s consuming.

https://docs.webiny.com/docs/get-started/development-principles/#cloud-native-development

P.S after your PR, checkout this page: https://www.webiny.com/swag

SvenAlHamad avatar Jan 24 '20 15:01 SvenAlHamad

@Fsalker just a quick note: we strongly recommend you wait until our next release (should land tomorrow πŸ™ ) as it introduces Typescript and many other changes. I will let you know when the master branch is ready for PRs.

Pavel910 avatar Jan 24 '20 17:01 Pavel910

Ah sure. It's taken me a while to get a good grip on the project since I've actually started reading about Webiny, its funding, serverless stuff etc. You guys got a quite interesting company and project on your hands.

I was now stuck at deploying the api thru webiny delpoy-api with error CredentialsError: Missing credentials in config (edit) when deploying cognito (/edit). I suppouse it's because I haven't coupled my AWS IAM with the project locally yet. I'm still figuring it out.

Andrei199991 avatar Jan 24 '20 17:01 Andrei199991

Since we use AWS SDK to deploy infrastructure, we need working AWS credentials. The AWS_PROFILE is set in the .env.json file in the root of the project (or in the examples/.env.json if you're cloning this repo).

All you need to do is get your AWS user credentials and store them in ~/.aws/credentials file. Here's a link to the AWS docs: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-files.html

Pavel910 avatar Jan 24 '20 17:01 Pavel910

Thanks, I'm looking into it. You've saved me a lot of time πŸ˜„.

Andrei199991 avatar Jan 24 '20 17:01 Andrei199991

Any clues for this new error?

SubscriptionRequiredException: The AWS Access Key Id needs a subscription for the service

I'm not sure which service it's talking about. I've populated ~/.aws/credentials with my Access & Secret keys

Andrei199991 avatar Jan 24 '20 17:01 Andrei199991

Ah, looks like you credit card has not been approved yet. When you create AWS account, they require to setup a credit card, in case you go beyond the Free Tier usage. So unless you do that, your credentials will not work.

Go to your Billing Dashboard and then Payment Methods to see the status of your payment method.

Pavel910 avatar Jan 24 '20 17:01 Pavel910

It turns out I'm using a card that has expired on 09/2019 πŸ˜†

I've created my AWS account quite a while ago, I've never been aware I was to use a valid card before using AWS.

Andrei199991 avatar Jan 24 '20 17:01 Andrei199991

There doesn't seem to be any status on the Payments Methods page, but they did charge me $1 and I'm getting the same subscription error in the console.

Andrei199991 avatar Jan 24 '20 18:01 Andrei199991

Just give it some time; if anything is wrong, there will be a message about credit card validation. I was helping my friend the other day to setup his AWS account, and it was not instant to say the least. But it did work eventually. Unfortunately, there's nothing we can do about it 🍻

Pavel910 avatar Jan 24 '20 18:01 Pavel910

(still waiting on it, getting the same error; perhaps they don't validate credit cards during weekends πŸ™„)

Andrei199991 avatar Jan 26 '20 18:01 Andrei199991

That's weird πŸ€” Maybe try opening a support ticket?

Pavel910 avatar Jan 26 '20 18:01 Pavel910

I was thinking about that before checking whether they have live chat. Hope they answer it fairly quickly.

Andrei199991 avatar Jan 26 '20 18:01 Andrei199991

Fun fact: they haven't returned my $1 yet. Maybe they're actually still working on it πŸ€”

I'll return with news soon.

Andrei199991 avatar Jan 26 '20 18:01 Andrei199991