Skip to content

Add margin to bottom and sides for cloud pages #13281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 77 commits into from

Conversation

dizel852
Copy link
Contributor

@dizel852 dizel852 commented May 27, 2022

What

Closes #12780

How

Adding margin to wrapper components

Screenshot at May 26 15-47-08

image

Screenshot at May 27 17-55-10

@github-actions github-actions bot added area/platform issues related to the platform area/frontend Related to the Airbyte webapp labels May 27, 2022
@dizel852 dizel852 self-assigned this May 27, 2022
@dizel852 dizel852 added area/frontend and removed area/platform issues related to the platform labels May 27, 2022
@dizel852 dizel852 marked this pull request as ready for review May 27, 2022 15:13
@dizel852 dizel852 requested a review from a team as a code owner May 27, 2022 15:13
# Conflicts:
#	airbyte-webapp/src/pages/DestinationPage/pages/DestinationItemPage/components/DestinationSettings.tsx
#	airbyte-webapp/src/pages/SourcesPage/pages/SourceItemPage/components/SourceSettings.tsx
#	airbyte-webapp/src/views/Connector/ConnectorDocumentationLayout/ConnectorDocumentationLayout.tsx
@github-actions github-actions bot added the area/platform issues related to the platform label May 31, 2022
* Associated line items to deals

* Bumped version

* Bumped version

* auto-bump connector version

Co-authored-by: Octavia Squidington III <[email protected]>
@teallarson
Copy link
Contributor

teallarson commented Jun 2, 2022

Nice to get some more elements using SASS and classnames. 🎉

I can't tell from the original screenshot if what you've implemented is what was intended or if Natalie was asking for this green area to be empty (ie: at the bottom of the viewport vs. at the bottom of the page)?

Screen Shot 2022-06-02 at 9 06 33 AM

It doesn't look like the margin added to the bottom of the docs panel is acting as expected (I went to add source and picked Github and scrolled down, the margin is not 150px)

* Bump Airbyte version from 0.39.7-alpha to 0.39.8-alpha

* update date

* format

Co-authored-by: girarda <[email protected]>
Co-authored-by: Alexandre Girard <[email protected]>
@dizel852
Copy link
Contributor Author

dizel852 commented Jun 2, 2022

Nice to get some more elements using SASS and classnames. 🎉

I can't tell from the original screenshot if what you've implemented is what was intended or if Natalie was asking for this green area to be empty (ie: at the bottom of the viewport vs. at the bottom of the page)?

Screen Shot 2022-06-02 at 9 06 33 AM

It doesn't look like the margin added to the bottom of the docs panel is acting as expected (I went to add source and picked Github and scrolled down, the margin is not 150px)

Yeap, that's right - I didn't add margin to the docs panel since I thought that intercom notification displays on the right side only. Also don't have a chance to test this case. Need someone who can check the docs panel with displayed intercom notification.

@timroes any ideas on how we can invoke the intercom notification? Last time I remember you tried to help by resetting something(don't remember for sure what you intend to reset).

Looks like I need to sign up one more account 😄

@dizel852
Copy link
Contributor Author

dizel852 commented Jun 2, 2022

I can't tell from the original screenshot if what you've implemented is what was intended or if Natalie was asking for this green area to be empty (ie: at the bottom of the viewport vs. at the bottom of the page)?

I'm pretty sure the idea was to add the margin to the bottom (last element on the page), not the viewport. It might be will look strange I guess since we always will have empty space in the viewport...

@nataliekwong Do we need to add margin to the bottom(last element on the page) or to the viewport?

@edmundito
Copy link
Contributor

I found a couple of issues while testing:

In the onboarding page, the top gets cut off:
image

The margin-bottom change is also visible in OSS but should probably be applied in cloud only. isCloudApp() can be used to check this.

@dizel852
Copy link
Contributor Author

dizel852 commented Jun 2, 2022

I found a couple of issues while testing:

In the onboarding page, the top gets cut off: image

The margin-bottom change is also visible in OSS but should probably be applied in cloud only. isCloudApp() can be used to check this.

Hm, interesting... Will double-check it. Good catch! 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp connectors/destination/azure-blob-storage connectors/destination/bigquery connectors/destination/bigquery-denormalized connectors/destination/cassandra connectors/destination/clickhouse connectors/destination/clickhouse-strict-encrypt connectors/destination/csv connectors/destination/databricks connectors/destination/dev-null connectors/destination/dynamodb connectors/destination/e2e-test connectors/destination/elasticsearch connectors/destination/gcs connectors/destination/jdbc connectors/destination/kafka connectors/destination/keen connectors/destination/kinesis connectors/destination/local-json connectors/destination/mariadb-columnstore connectors/destination/meilisearch connectors/destination/mongodb connectors/destination/mongodb-strict-encrypt connectors/destination/mqtt connectors/destination/mssql connectors/destination/mssql-strict-encrypt connectors/destination/mysql connectors/destination/mysql-strict-encrypt connectors/destination/oracle connectors/destination/oracle-strict-encrypt connectors/destination/postgres connectors/destination/postgres-strict-encrypt connectors/destination/pubsub connectors/destination/pulsar connectors/destination/redis connectors/destination/redshift connectors/destination/rockset connectors/destination/s3 connectors/destination/scylla connectors/destination/snowflake connectors/source/amazon-seller-partner connectors/source/amplitude connectors/source/bigquery connectors/source/clickhouse connectors/source/clickhouse-strict-encrypt connectors/source/cockroachdb connectors/source/cockroachdb-strict-encrypt connectors/source/db2-strict-encrypt connectors/source/db2 connectors/source/e2e-test connectors/source/e2e-test-cloud connectors/source/faker connectors/source/freshdesk connectors/source/google-ads connectors/source/google-sheets connectors/source/hubspot connectors/source/jdbc connectors/source/kafka connectors/source/mixpanel connectors/source/mongodb-strict-encrypt connectors/source/mongodb-v2 connectors/source/mssql connectors/source/mssql-strict-encrypt connectors/source/mysql connectors/source/mysql-strict-encrypt connectors/source/oracle connectors/source/oracle-strict-encrypt connectors/source/postgres connectors/source/postgres-strict-encrypt connectors/source/redshift connectors/source/relational-db connectors/source/scaffold-java-jdbc connectors/source/sftp connectors/source/snowflake connectors/source/stripe connectors/source/tidb
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add small margin to bottom of all Cloud pages