whyis-fediverse 0.2.0__py3-none-any.whl → 0.2.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,13 +33,10 @@ export default Vue.component('fedi-comment', {
33
33
  <fedi-selectable v-bind:uri="a.id" v-for="a in value.attachment" v-bind:key="a.id" v-html="a.embed">
34
34
  </fedi-selectable>
35
35
  </div>
36
- <div v-if="value.attachment != null && value.attachment.length != 0">
36
+ <div v-if="value.context != null && value.context.length != 0">
37
37
  <fedi-selectable v-bind:uri="a.id" v-for="a in value.context" v-bind:key="a.id" v-html="a.embed">
38
38
  </fedi-selectable>
39
39
  </div>
40
- <div v-if="value.context != null && value.context.length != 0">
41
- <img style="" v-for="image in value.context" :src="image.url" :alt="image.url">
42
- </div>
43
40
  <div style="width:fit-content; margin-top:0.5em; border-radius:1em; padding-left:0.75em; padding-right:0.75em; background-color:lightgray">
44
41
  <small>
45
42
  <a :href="value.attributedTo.view">
@@ -201,8 +201,6 @@ export default Vue.component('fedi-new-post', {
201
201
  this.id = randomID();
202
202
  this.uri = `${LOD_PREFIX}/note/${this.id}`;
203
203
  this.post = newPost(this.uri);
204
- this.attachments = null;
205
-
206
204
  if (attachments.length >0) {
207
205
  const collectionURI = `${LOD_PREFIX}/media/${old_id}`;
208
206
  console.log(collectionURI);
@@ -218,10 +216,12 @@ export default Vue.component('fedi-new-post', {
218
216
  'Content-Type': 'application/ld+json'
219
217
  }
220
218
  });
221
- //this.selection.length = 0;
219
+ this.selection.length = 0;
222
220
  if (this.inReplyTo == null) {
223
221
  window.location.href = `${window.location.origin}/about?uri=${post.id}`;
224
222
  }
223
+ console.log(this.$refs.attachments);
224
+ this.$refs.attachments.value = null;
225
225
  }
226
226
  },
227
227
  async mounted (){
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: whyis-fediverse
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  License-File: LICENSE
5
5
  Requires-Dist: whyis
6
6
 
@@ -4,9 +4,9 @@ whyis_fediverse/test_example.trig,sha256=kcTQ0hmnt8bjsTBrRN58yvzTEtNT5ryrDBWoeRe
4
4
  whyis_fediverse/test_example.ttl,sha256=sD79vPJcFacKMyt9rvLSBZxSRGe5Q06qeoXdHzn3XOQ,3496
5
5
  whyis_fediverse/vocab.ttl,sha256=ZcN5pWzoxBNxeOTfVjs0vVgBnWDvVNCMics_JC8WRWs,2778
6
6
  whyis_fediverse/static/js/#new_post.js#,sha256=7SJRF5yYO9YvWffs77uWKawJPUjXPaxiRwPyWT0-2ww,6749
7
- whyis_fediverse/static/js/comment.js,sha256=lcAVewttPAOcu8gveCLiXRNGecrTP6YFs9hTKbp6HKI,3241
7
+ whyis_fediverse/static/js/comment.js,sha256=L8e_dHwCbyDCqNspxyFTIjDpmjHZHVP4wfdQZtpN8lo,3064
8
8
  whyis_fediverse/static/js/discussion.js,sha256=KrW8h9pUaheJjqhgkmK9PZargoTJoGJun5n91rEk2Jc,2418
9
- whyis_fediverse/static/js/new_post.js,sha256=0Ap-bl5qxixtuhmZwppjFWP-MaaLvdb0MHfoiSA7_gw,6751
9
+ whyis_fediverse/static/js/new_post.js,sha256=wCR8-jLzLe4C43-KFRkQ2MQ2fCB7eCLkSX2sG-jFfCY,6811
10
10
  whyis_fediverse/static/js/post.js,sha256=xmLicaDBnejcbr4vH1cLmVoy-Cplz7PuCKE_mNHjBzk,3266
11
11
  whyis_fediverse/static/js/post_view.js,sha256=0Wpjht9BU3MGS1VtkRhHHqPLFkMlUOOn6-Y-boNdDVs,2686
12
12
  whyis_fediverse/static/js/selectable.js,sha256=QH4ZYAj-Y6-YAA1l0ylNXXUhU2r5yqBmZ07Sn-3CKME,1129
@@ -36,9 +36,9 @@ whyis_fediverse/templates/resource_get.json,sha256=qgKrV5c2IQGWfnv6EIXL_B3xte4UC
36
36
  whyis_fediverse/templates/resource_search.json,sha256=BXOsOdM7rJ2MV1_7tMthXLuc_aye6Ig9_3jYXXSxiP0,230
37
37
  whyis_fediverse/templates/space_get.json,sha256=QYxOUQjW7Asyvla-C0-Dv9mj0Tww1MdecxqUMuOH1mg,132
38
38
  whyis_fediverse/templates/space_search.json,sha256=PMzIraMldZrb7jrCsBhJRbQ_vB76nxz24cS9Bcgx-gk,193
39
- whyis_fediverse-0.2.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
40
- whyis_fediverse-0.2.0.dist-info/METADATA,sha256=nvhn6gZL4qUnumFQ_egjStmhdSK63Bqt-aYU0GNggRg,103
41
- whyis_fediverse-0.2.0.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
42
- whyis_fediverse-0.2.0.dist-info/entry_points.txt,sha256=e4XLi7wxdcBNLXdbeukTWuVWuprOpYUpFUkOJe4vPdY,58
43
- whyis_fediverse-0.2.0.dist-info/top_level.txt,sha256=s0dGyAZlCNhS-O-Zoqlui3FKCkMAc8VqfK3o6DLsC10,16
44
- whyis_fediverse-0.2.0.dist-info/RECORD,,
39
+ whyis_fediverse-0.2.2.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
40
+ whyis_fediverse-0.2.2.dist-info/METADATA,sha256=tu_XKJ0qhv1ZIQhJc03lNJH2H7qKHD7EqVgmqEtSR50,103
41
+ whyis_fediverse-0.2.2.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
42
+ whyis_fediverse-0.2.2.dist-info/entry_points.txt,sha256=e4XLi7wxdcBNLXdbeukTWuVWuprOpYUpFUkOJe4vPdY,58
43
+ whyis_fediverse-0.2.2.dist-info/top_level.txt,sha256=s0dGyAZlCNhS-O-Zoqlui3FKCkMAc8VqfK3o6DLsC10,16
44
+ whyis_fediverse-0.2.2.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.2.0)
2
+ Generator: setuptools (75.3.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5