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

feat: CMD-187 autocreate search page #885

Draft
wants to merge 39 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4515b85
feat: template & setting for Google search
wesleyboar Oct 22, 2024
2883e49
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Oct 22, 2024
8607c90
fix: styles and fallback warning for Google Search
wesleyboar Oct 22, 2024
f3dc4dc
enhance: move sarch CSS to its own file
wesleyboar Oct 22, 2024
3947bc2
enhance: rename search stylesheet and ID
wesleyboar Oct 22, 2024
d0d5e00
refactor: move css to top of template
wesleyboar Oct 22, 2024
b74e2a0
fix: missing default GOOGLE_SEARCH_ENGINE_ID
wesleyboar Oct 22, 2024
7c93b7e
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Oct 23, 2024
f80ebc8
feat: search template is standard
wesleyboar Oct 23, 2024
5208bde
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Oct 23, 2024
9457519
feat: convert search template into a search app
wesleyboar Oct 23, 2024
16d34c3
feat(search_page): slimmer views.py
wesleyboar Oct 23, 2024
da3a73a
feat(search): create page if it does not exist
wesleyboar Oct 23, 2024
5fb5a32
fix(search): restore breadcrumbs
wesleyboar Oct 23, 2024
1fef4f8
chore(search_page): remove now-unnecessary file
wesleyboar Oct 23, 2024
e8072e6
enhance(search_page): flag page as auto-generated
wesleyboar Oct 23, 2024
3291015
enhance(search): attach apphook to manage urls
wesleyboar Oct 23, 2024
ca11f07
style(search): polish
wesleyboar Oct 24, 2024
445010c
fix(search): searchbar not using curr. search path
wesleyboar Oct 24, 2024
8d812c8
chore(search): remove cruft
wesleyboar Oct 24, 2024
3793bb9
chore(search): reduce silly complexity of tag
wesleyboar Oct 24, 2024
92e9ecf
chore(search): remove cruft 2
wesleyboar Oct 24, 2024
adf6ad2
feat(search): auto isntall and setup
wesleyboar Oct 24, 2024
d9db279
feat(search): simplify an isolate markup
wesleyboar Oct 24, 2024
fda65e5
core(search): remove cruft markup
wesleyboar Oct 24, 2024
9d88be6
chore(search): simlify utils.py
wesleyboar Oct 24, 2024
148f661
style(search): new line
wesleyboar Oct 24, 2024
7cbb96e
refactor(search): polish
wesleyboar Oct 24, 2024
f57d4e1
refactor(search): rename a function
wesleyboar Oct 24, 2024
55b84da
style(search): ending slash for example path
wesleyboar Oct 24, 2024
3ee4fe1
style(search): ending slash for example path
wesleyboar Oct 24, 2024
b4d6ac3
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Oct 25, 2024
0f16d38
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Oct 26, 2024
ba2b091
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Nov 1, 2024
959ba8e
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Nov 14, 2024
7dd0402
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Nov 14, 2024
a12a70f
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Nov 14, 2024
74230c0
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Jan 14, 2025
34be454
Merge branch 'main' into feat/template-and-setting-for-google-search
wesleyboar Jan 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: move css to top of template
So dev sees 'google-search' from CSS before seeing it in HTML `id` attr.
  • Loading branch information
wesleyboar committed Oct 22, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit d0d5e00db62ca70a03b14852456e17f36a579269
10 changes: 5 additions & 5 deletions taccsite_cms/templates/search.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{% extends "base.html" %}
{% load static cms_tags %}

{% block css %}
{{ block.super }}
<link id="css-search" rel="stylesheet" href="{% static 'site_cms/css/google-search.css' %}">
{% endblock css %}

{% block cms_content %}
{% placeholder "content" %}

@@ -21,8 +26,3 @@ <h1>Search</h1>

</div>
{% endblock cms_content %}

{% block css %}
{{ block.super }}
<link id="css-search" rel="stylesheet" href="{% static 'site_cms/css/google-search.css' %}">
{% endblock css %}