<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/website/static/src/snippets/s_table_of_content, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[FIX] website: fix table of content navbar links when scrolling</title>
<updated>2020-09-29T07:57:45+00:00</updated>
<author>
<name>Benjamin Vray</name>
<email>bvr@odoo.com</email>
</author>
<published>2020-09-25T11:03:47+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=a0ef5b0ea5e6025d6121849c2c98c077d86e237b'/>
<id>a0ef5b0ea5e6025d6121849c2c98c077d86e237b</id>
<content type='text'>
Before this commit active navbar links were not correctly updated with
the scroll position.

task-2312878

closes odoo/odoo#58505

Signed-off-by: Quentin Smetz (qsm) &lt;qsm@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit active navbar links were not correctly updated with
the scroll position.

task-2312878

closes odoo/odoo#58505

Signed-off-by: Quentin Smetz (qsm) &lt;qsm@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] web_editor, website: fix menu colors in table of content</title>
<updated>2020-09-28T10:27:54+00:00</updated>
<author>
<name>Benjamin Vray</name>
<email>bvr@odoo.com</email>
</author>
<published>2020-09-17T12:22:26+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7b7043075068c81b731b42f6d04bc5b166e45505'/>
<id>7b7043075068c81b731b42f6d04bc5b166e45505</id>
<content type='text'>
Before this commit, the colors of the navbar in the table of content
menu were not adapted to the color combinations system. With navbar in
top position, the background and the colors of the links were using the
same color.

After this commit, the colors of the list-group-item links are also
adapted with color combinations.

task-2312878

closes odoo/odoo#58601

X-original-commit: a0dc17676c570887773854243bcb8cd8823359d5
Signed-off-by: Quentin Smetz (qsm) &lt;qsm@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit, the colors of the navbar in the table of content
menu were not adapted to the color combinations system. With navbar in
top position, the background and the colors of the links were using the
same color.

After this commit, the colors of the list-group-item links are also
adapted with color combinations.

task-2312878

closes odoo/odoo#58601

X-original-commit: a0dc17676c570887773854243bcb8cd8823359d5
Signed-off-by: Quentin Smetz (qsm) &lt;qsm@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website, *: move page scrollbar to #wrapwrap</title>
<updated>2020-09-22T08:29:11+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2020-09-17T10:41:10+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4e7be69825163c0a0ff41c882a196fc7f3158fb3'/>
<id>4e7be69825163c0a0ff41c882a196fc7f3158fb3</id>
<content type='text'>
*: web, web_editor, portal, account, website_blog, website_forum

This is probably not ideal to move the scrolling behavior out of the
html element but this will be needed for the editor to not have a double
scrollbar on the right. This is actually also useful for the scrollbar
to appear under the purple odoo menu instead of its right.

This commit, if to be reverted in the future, however contains many
improvements to make the transition easier that should be kept: jQuery
and Odoo functions to be able to scrollTo a specific element, get the
top scrollable element, check if an element is scrollable, etc. Also,
some magic was done: if some code tries to scroll to a specific scroll
position via jQuery's scrollTop or animate functions on the html/body
element, those will still work as intended (obviously, using the new
utils to do that is however recommended).

This commit also reviews our scroll behaviors to make them more robust
and share the code.

Part of https://github.com/odoo/odoo/pull/57975
task-2344227</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
*: web, web_editor, portal, account, website_blog, website_forum

This is probably not ideal to move the scrolling behavior out of the
html element but this will be needed for the editor to not have a double
scrollbar on the right. This is actually also useful for the scrollbar
to appear under the purple odoo menu instead of its right.

This commit, if to be reverted in the future, however contains many
improvements to make the transition easier that should be kept: jQuery
and Odoo functions to be able to scrollTo a specific element, get the
top scrollable element, check if an element is scrollable, etc. Also,
some magic was done: if some code tries to scroll to a specific scroll
position via jQuery's scrollTop or animate functions on the html/body
element, those will still work as intended (obviously, using the new
utils to do that is however recommended).

This commit also reviews our scroll behaviors to make them more robust
and share the code.

Part of https://github.com/odoo/odoo/pull/57975
task-2344227</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website: fix interaction between ToC snippet and header effects</title>
<updated>2020-08-27T17:07:33+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2020-08-17T13:44:35+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=38ba41779f3b83219de41542e2132f0b9a194cce'/>
<id>38ba41779f3b83219de41542e2132f0b9a194cce</id>
<content type='text'>
This commit also add the possibility to indicate a "top gap" = a part
on the top of the header which is not supposed to be shown once the page
is scrolled (this is a leftover of the "preheader" task which was
cancelled for something better, but that JS code still made sense as a
possibility).

Part of https://github.com/odoo/odoo/pull/56427
task-2264627

Co-authored-by: Benjamin Vray &lt;bvr@odoo.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit also add the possibility to indicate a "top gap" = a part
on the top of the header which is not supposed to be shown once the page
is scrolled (this is a leftover of the "preheader" task which was
cancelled for something better, but that JS code still made sense as a
possibility).

Part of https://github.com/odoo/odoo/pull/56427
task-2264627

Co-authored-by: Benjamin Vray &lt;bvr@odoo.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] web_editor: add delete button on snippet overlay</title>
<updated>2020-08-17T09:31:58+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2020-08-17T09:22:58+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7ef484377a493ebe558242480d0da6b542d6c247'/>
<id>7ef484377a493ebe558242480d0da6b542d6c247</id>
<content type='text'>
This commit adds a trash icon on the snippet overlay to delete the
snippet without using the left panel button.

task-2314805

closes odoo/odoo#55612

Signed-off-by: Quentin Smetz (qsm) &lt;qsm@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds a trash icon on the snippet overlay to delete the
snippet without using the left panel button.

task-2314805

closes odoo/odoo#55612

Signed-off-by: Quentin Smetz (qsm) &lt;qsm@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website: remove animate scrolling option for table of content</title>
<updated>2020-07-14T14:43:16+00:00</updated>
<author>
<name>qsm-odoo</name>
<email>qsm@odoo.com</email>
</author>
<published>2020-07-10T14:11:32+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=20249d316edc4a9deb3d379587e072a413acd0a2'/>
<id>20249d316edc4a9deb3d379587e072a413acd0a2</id>
<content type='text'>
Part of https://github.com/odoo/odoo/pull/53930
task-2157252</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Part of https://github.com/odoo/odoo/pull/53930
task-2157252</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website: move options in table of content snippet</title>
<updated>2020-03-24T16:07:22+00:00</updated>
<author>
<name>Benjamin Vray</name>
<email>bvr@odoo.com</email>
</author>
<published>2020-03-06T10:46:50+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=079dac124aff6aef6ad26e3218c47c0fd39e028d'/>
<id>079dac124aff6aef6ad26e3218c47c0fd39e028d</id>
<content type='text'>
Move position options in navbar.

Part of https://github.com/odoo/odoo/pull/46503
task-2194309</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move position options in navbar.

Part of https://github.com/odoo/odoo/pull/46503
task-2194309</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] website: add a new snippet table of content</title>
<updated>2020-01-30T16:57:43+00:00</updated>
<author>
<name>Benjamin Vray</name>
<email>bvr@odoo.com</email>
</author>
<published>2019-12-18T12:11:41+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=9fb2dad97cfbd412bee3cb5d1358a9835e721f60'/>
<id>9fb2dad97cfbd412bee3cb5d1358a9835e721f60</id>
<content type='text'>
New snippet table of content with a sticky navbar with links related to
headings in content.

Part of https://github.com/odoo/odoo/pull/40690
task-2118980

closes odoo/odoo#40690

Signed-off-by: Quentin Smetz (qsm) &lt;qsm@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New snippet table of content with a sticky navbar with links related to
headings in content.

Part of https://github.com/odoo/odoo/pull/40690
task-2118980

closes odoo/odoo#40690

Signed-off-by: Quentin Smetz (qsm) &lt;qsm@odoo.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
