mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
prevent highligting
This commit is contained in:
parent
e31c973963
commit
f2219a3b4e
@ -6,8 +6,6 @@ info:
|
||||
conversations.
|
||||
version: "0.0.1"
|
||||
title: DataBag
|
||||
contact:
|
||||
email: roland.osborne@gmail.com
|
||||
license:
|
||||
name: Apache 2.0
|
||||
url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
|
||||
|
@ -33607,7 +33607,6 @@ except ApiException as e:
|
||||
<div id="api-_footer">
|
||||
<p>Suggestions, contact, support and error reporting;
|
||||
<div class="app-desc">Information URL: <a href="https://helloreverb.com">https://helloreverb.com</a></div>
|
||||
<div class="app-desc">Contact Info: <a href="roland.osborne@gmail.com">roland.osborne@gmail.com</a></div>
|
||||
</p>
|
||||
<div class="license-info">Apache 2.0</div>
|
||||
<div class="license-url">http://www.apache.org/licenses/LICENSE-2.0.html</div>
|
||||
|
@ -1,12 +1,3 @@
|
||||
/*
|
||||
* DataBag
|
||||
*
|
||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
||||
*
|
||||
* API version: 0.0.1
|
||||
* Contact: roland.osborne@gmail.com
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
package databag
|
||||
|
||||
import (
|
||||
|
@ -1,12 +1,3 @@
|
||||
/*
|
||||
* DataBag
|
||||
*
|
||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
||||
*
|
||||
* API version: 0.0.1
|
||||
* Contact: roland.osborne@gmail.com
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
package databag
|
||||
|
||||
import (
|
||||
|
@ -1,12 +1,3 @@
|
||||
/*
|
||||
* DataBag
|
||||
*
|
||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
||||
*
|
||||
* API version: 0.0.1
|
||||
* Contact: roland.osborne@gmail.com
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
package databag
|
||||
|
||||
import (
|
||||
|
@ -1,12 +1,3 @@
|
||||
/*
|
||||
* DataBag
|
||||
*
|
||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
||||
*
|
||||
* API version: 0.0.1
|
||||
* Contact: roland.osborne@gmail.com
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
package databag
|
||||
|
||||
import (
|
||||
|
@ -1,12 +1,3 @@
|
||||
/*
|
||||
* DataBag
|
||||
*
|
||||
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
|
||||
*
|
||||
* API version: 0.0.1
|
||||
* Contact: roland.osborne@gmail.com
|
||||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
*/
|
||||
package main
|
||||
|
||||
import (
|
||||
|
@ -14,7 +14,7 @@ export function User() {
|
||||
return (
|
||||
<UserWrapper>
|
||||
<SideBar />
|
||||
<div class="canvas noselect">
|
||||
<div class="canvas">
|
||||
<img class="connect" src={connect} alt="" />
|
||||
<div class="page">
|
||||
<Outlet />
|
||||
|
@ -7,6 +7,12 @@ export const UserWrapper = styled.div`
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #f6f5ed;
|
||||
webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
.canvas {
|
||||
display: flex;
|
||||
|
@ -18,6 +18,7 @@ export function useConversationContext() {
|
||||
const count = useRef(0);
|
||||
const conversationId = useRef(null);
|
||||
const view = useRef(0);
|
||||
const gone = useRef(false);
|
||||
|
||||
const updateState = (value) => {
|
||||
setState((s) => ({ ...s, ...value }));
|
||||
@ -30,7 +31,8 @@ export function useConversationContext() {
|
||||
|
||||
if (cardId) {
|
||||
let deltaRevision = card.actions.getChannelRevision(cardId, channelId);
|
||||
if (!deltaRevision) {
|
||||
if (!deltaRevision && !gone.current) {
|
||||
gone.current = true;
|
||||
window.alert("This converstaion has been removed");
|
||||
return;
|
||||
}
|
||||
@ -155,6 +157,7 @@ export function useConversationContext() {
|
||||
view.current += 1;
|
||||
conversationId.current = { cardId, channelId };
|
||||
revision.current = null;
|
||||
gone.current = false;
|
||||
topics.current = new Map();
|
||||
updateState({ init: false, cardId, channelId, topics: topics.current });
|
||||
updateConversation();
|
||||
|
Loading…
Reference in New Issue
Block a user