Skip to content

Conversation

@LineIndent
Copy link
Contributor

@LineIndent LineIndent commented Jun 26, 2025

rough draft of soc2 page

Screenshot 2025-06-27 at 19-57-16 Security - Reflex

@linear
Copy link

linear bot commented Jun 26, 2025

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Added a new security and SOC2 compliance page to showcase Reflex's enterprise security features, data protection, and trust service criteria with responsive layouts for mobile and desktop views.

  • Missing implementation for icons in pcweb/pages/security/security.py with commented out code sections
  • Contains unused button imports that should be removed for code cleanliness
  • Class naming inconsistencies with irregular spacing in pcweb/pages/security/security.py
  • Accessibility improvements needed for better compliance
  • Layout inconsistencies between mobile and desktop views need alignment

2 files reviewed, 1 comment
Edit PR Review Bot Settings | Greptile

rx.box(
security_table_header(),
table_security(),
class_name="flex-col w-full max-w-[69.125rem] desktop-only pb-12",
Copy link
Contributor

Choose a reason for hiding this comment

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

syntax: Extra space in class_name='flex-col w-full max-w-[69.125rem]'

Suggested change
class_name="flex-col w-full max-w-[69.125rem] desktop-only pb-12",
class_name="flex-col w-full max-w-[69.125rem] desktop-only pb-12",

from pcweb.components.webpage.badge import badge
from pcweb.pages.framework.index_colors import index_colors
from pcweb.pages.framework.views.footer_index import footer_index
from pcweb.components.icons import hi
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to fix this import, the app won't compile

)


@rx.page(route="/security", title="Security - Reflex")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Lets use one of current templates so we dont reuse code + can use .path etc

navbar(),
rx.el.main(
rx.box(
security_title(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we split all these sections into different files? Like we do for the landing, hosting and the main pages

"We're committed to protecting your data through enterprise-grade security practices and full SOC 2 compliance.",
class_name="font-md text-balance text-slate-9",
),
class_name="section-header max-w-[64.19rem] px-8 " + rx.cond(HostingBannerState.show_banner, "pt-[11rem]", "pt-[12rem]"),
Copy link
Collaborator

Choose a reason for hiding this comment

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

When we switch to the template this wont be need as the logic should be there

mobile_layout = rx.box(
# All cards in simple order for mobile
# outcomes_showcase(), # Showcase
security_card(**trust_services_criteria[0]), # Security
Copy link
Collaborator

Choose a reason for hiding this comment

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

Cant we use a for loop for this?

"""Individual outcomes feature card component."""
return rx.box(
rx.box(
_card_header(title, icon),
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would add some icons here, like
image

"From data protection to privacy compliance, Reflex is built with security-first principles to meet the needs of modern teams and enterprises.",
class_name="text-slate-9 text-xl font-medium text-center mt-4",
),
class_name="flex items-center justify-between text-slate-11 flex-col py-[5rem] max-w-[64.19rem] mx-auto w-full px-6",
Copy link
Collaborator

Choose a reason for hiding this comment

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

This section and the rest that are missing a border-x should have it

security_card(**trust_services_criteria[1]), # Availability
security_card(**trust_services_criteria[2]), # Confidentiality
security_card(**trust_services_criteria[3]), # Processing Integrity
security_card(**trust_services_criteria[4]), # Privacy
Copy link
Collaborator

@carlosabadia carlosabadia Jun 26, 2025

Choose a reason for hiding this comment

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

I think I would move this section (privacy) to the top and make it a more important making the text bigger, with and icon or some graphic, plus so border on the bottom to separate it

@LineIndent LineIndent merged commit e965965 into main Jun 30, 2025
9 checks passed
@LineIndent LineIndent deleted the soc2-page branch June 30, 2025 16:41
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.

3 participants