From 1257d4dfe487d6bdf6485ac3be92a3581661466e Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Thu, 1 Jun 2023 11:06:14 -0400 Subject: [PATCH] docs: Move to the archive because this OEP is no longer relevant. We no longer believe Bootstrap is how we want to build our frontends. A lot of this is superseded by the use of Paragon which uses bootstrap under the hood. --- .../oep-0016-bp-adopt-bootstrap.rst | 2 +- oeps/best-practices/oep-0011-bp-FED-technology.rst | 10 ++-------- oeps/redirects.txt | 1 + 3 files changed, 4 insertions(+), 9 deletions(-) rename oeps/{best-practices => archived}/oep-0016-bp-adopt-bootstrap.rst (99%) diff --git a/oeps/best-practices/oep-0016-bp-adopt-bootstrap.rst b/oeps/archived/oep-0016-bp-adopt-bootstrap.rst similarity index 99% rename from oeps/best-practices/oep-0016-bp-adopt-bootstrap.rst rename to oeps/archived/oep-0016-bp-adopt-bootstrap.rst index 1dd2787d3..185e6c668 100644 --- a/oeps/best-practices/oep-0016-bp-adopt-bootstrap.rst +++ b/oeps/archived/oep-0016-bp-adopt-bootstrap.rst @@ -12,7 +12,7 @@ OEP-16: Bootstrap Adoption +---------------+---------------------------------------------------+ | Arbiter | Dennis Jen | +---------------+---------------------------------------------------+ -| Status | Accepted | +| Status | Obsolete | +---------------+---------------------------------------------------+ | Type | Best Practice | +---------------+---------------------------------------------------+ diff --git a/oeps/best-practices/oep-0011-bp-FED-technology.rst b/oeps/best-practices/oep-0011-bp-FED-technology.rst index 454ccc84b..90a455f05 100644 --- a/oeps/best-practices/oep-0011-bp-FED-technology.rst +++ b/oeps/best-practices/oep-0011-bp-FED-technology.rst @@ -163,13 +163,7 @@ Technology Selection You can find out more about Sass in the official `Sass documentation`_. -10. **Bootstrap for styling consistency** - - **Rationale**: In order accelerate development, and provide a more consistent - user experience for our users, Open edX will adopt Bootstrap 4 to style its web - applications. For more details, see :doc:`oep-0016-bp-adopt-bootstrap`. - -11. **API calls should be made with the edX Frontend Auth Client or Axios** +10. **API calls should be made with the edX Frontend Auth Client or Axios** **Rationale**: The `edX Frontend Auth Client`_ simplifies the process of talking to edX APIs by using Axios inteceptors and handling JWT Cookie @@ -181,7 +175,7 @@ Technology Selection intuitive API, particularly when handling HTTP errors with rejected promises. -12. **Server-side content should be rendered with Django Templates** +11. **Server-side content should be rendered with Django Templates** **Rationale**: Although it is advised to use client side templating with React, see `Use React and Redux`_, when rendering on the server Django templates diff --git a/oeps/redirects.txt b/oeps/redirects.txt index a75003327..73cbba597 100644 --- a/oeps/redirects.txt +++ b/oeps/redirects.txt @@ -9,3 +9,4 @@ "best-practices/oep-0034-bp-lint-amnesty.rst" "archived/oep-0034-bp-lint-amnesty.rst" "processes/oep-0025-proc-incremental-improvements.rst" "archived/oep-0025-proc-incremental-improvements.rst" "architectural-decisions/oep-0023-style-customization.rst" "archived/oep-0023-style-customization.rst" +"best-practices/oep-0016-bp-adopt-bootstrap.rst" "archived/oep-0016-bp-adopt-bootstrap.rst"