Skip to content
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

Add strict definitions for layers #547

Merged
merged 14 commits into from
Apr 22, 2023
Merged

Add strict definitions for layers #547

merged 14 commits into from
Apr 22, 2023

Conversation

illright
Copy link
Contributor

@illright illright commented Jan 22, 2023

Background

We didn't have precise definitions for layers which led to misinterpretations and questions in communities.

Changelog

  1. Added a page about slices in general and each slice specifically
  2. Added a page about slices and segments
  3. Removed previous pages about units

@netlify
Copy link

netlify bot commented Jan 22, 2023

Deploy Preview for pr-fsd ready!

Name Link
🔨 Latest commit ba8c484
🔍 Latest deploy log https://app.netlify.com/sites/pr-fsd/deploys/6443de594d37cc0007fff12c
😎 Deploy Preview https://deploy-preview-547--pr-fsd.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@azinit
Copy link
Member

azinit commented Jan 23, 2023

praise: Написано круто!

issue(critical): Но надо что-то сделать тогда с существующими разделами (units-layers-segments)

Заменить полностью одно другим / Смержить - иначе дублирование инфы будет опять
(которое я подчищал за свое время)

Иначе юзеры будут путаться опять - какая инфа более актуальная

image

@illright
Copy link
Contributor Author

Но надо что-то сделать тогда с существующими разделами (units-layers-segments)

Yeah, they will be purged. I left them for now as reference to finish up the "Slices and segments" page

@illright illright marked this pull request as ready for review February 4, 2023 01:52
* UI kit
* API client
* Code working with browser APIs
* Routing primitives (e.g., authentication-protected routes)
Copy link
Member

Choose a reason for hiding this comment

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

Protected route always depends on some sort of state or bussiness logic from entities (eg. isAuthenticated state flag from '@/entities/session').

People can be confused: bcs they cant import entities into shared.

As a solustion, i suggest move authentication-protected routes up to entities/session/model/**

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, I agree that this isn't a good place for them

Copy link
Member

@NazariiShvets NazariiShvets left a comment

Choose a reason for hiding this comment

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

LGTM

@illright illright merged commit 23e960d into master Apr 22, 2023
7 checks passed
@illright illright deleted the stricter-definitions branch April 22, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants